5
我需要重新編譯的SQLite3與CFLAG:PHP5 SQLite3的重新編譯UPDATE,DELETE LIMIT
SQLITE_ENABLE_UPDATE_DELETE_LIMIT
如寫在How do you enable LIMIT for DELETE in SQLite?:
tar xzf sqlite-3.6.20.tar.gz
cd sqlite-3.6.20
export CFLAGS='-DSQLITE_ENABLE_UPDATE_DELETE_LIMIT=1'
./configure
make
彙編中沒有任何錯誤完成。
但PHP5依然結尾:
Warning: SQLite3::query() [sqlite3.query]: near "LIMIT": syntax error in /var/www/xxx.php on line 987