Skip to content

Commit bff6e29

Browse files
committed
update error message
1 parent d742ce2 commit bff6e29

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ext/pdo_sqlite/sqlite_driver.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ static zend_string* sqlite_handle_quoter(pdo_dbh_t *dbh, const zend_string *unqu
236236
} else if (dbh->error_mode == PDO_ERRMODE_WARNING) {
237237
php_error_docref(
238238
NULL, E_WARNING,
239-
"SQLite PDO::quote: string is too long to quote");
239+
"string is too long to quote");
240240
}
241241
return NULL;
242242
}

ext/pdo_sqlite/tests/bug81740.phpt

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ try{
2222
}
2323
?>
2424
--EXPECTF--
25-
Warning: PDO::quote(): SQLite PDO::quote: string is too long to quote in %s on line %d
25+
Warning: PDO::quote(): string is too long to quote in %s on line %d
2626
bool(false)
2727

2828
Fatal error: Uncaught PDOException: SQLite PDO::quote: string is too long to quote in %s:%d

0 commit comments

Comments
 (0)