ON DUPLICATE KEY UPDATE
-
Could you add handling for ‘ON DUPLICATE KEY UPDATE’ statements in the PDO class? Currently they simply throw :
PHP Warning: PDO::prepare(): SQLSTATE[HY000]: General error: 1 near "ON": syntax error in /var/www/wp-content/plugins/sqlite-integration/pdoengine.class.php on line 58x
The ON statements are used by WordPress e.g. on
INSERT INTO wp_options (option_name, option_value, autoload) VALUES ...
update_option() calls etc.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘ON DUPLICATE KEY UPDATE’ is closed to new replies.