summaryrefslogtreecommitdiff
path: root/ext/sqlite3/sqlite3.c
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2008-09-30 11:14:48 (GMT)
committerScott MacVicar <scottmac@php.net>2008-09-30 11:14:48 (GMT)
commit14982115cd1f29129e5520de99be5a42f6a9fd30 (patch)
treefad215f59fe2777fa4a471c5ea49bed59abc6c9c /ext/sqlite3/sqlite3.c
parent21c9fb32c1083b49ff92c87c3a2cfd32ad721e43 (diff)
downloadphp-14982115cd1f29129e5520de99be5a42f6a9fd30.tar.gz
MFH: SQLite3::escapeString can be static as it doesn't rely on an instance of SQLite
Diffstat (limited to 'ext/sqlite3/sqlite3.c')
-rw-r--r--ext/sqlite3/sqlite3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sqlite3/sqlite3.c b/ext/sqlite3/sqlite3.c
index d7e9d0a..1835bef 100644
--- a/ext/sqlite3/sqlite3.c
+++ b/ext/sqlite3/sqlite3.c
@@ -1478,7 +1478,7 @@ static zend_function_entry php_sqlite3_class_methods[] = {
PHP_ME(sqlite3, lastErrorMsg, arginfo_sqlite3_lasterrormsg, ZEND_ACC_PUBLIC)
PHP_ME(sqlite3, loadExtension, arginfo_sqlite3_loadextension, ZEND_ACC_PUBLIC)
PHP_ME(sqlite3, changes, arginfo_sqlite3_changes, ZEND_ACC_PUBLIC)
- PHP_ME(sqlite3, escapeString, arginfo_sqlite3_escapestring, ZEND_ACC_PUBLIC)
+ PHP_ME(sqlite3, escapeString, arginfo_sqlite3_escapestring, ZEND_ACC_PUBLIC|ZEND_ACC_STATIC)
PHP_ME(sqlite3, prepare, arginfo_sqlite3_prepare, ZEND_ACC_PUBLIC)
PHP_ME(sqlite3, query, arginfo_sqlite3_query, ZEND_ACC_PUBLIC)
PHP_ME(sqlite3, querySingle, arginfo_sqlite3_querysingle, ZEND_ACC_PUBLIC)