I have tried to run this request on my database:
INSERT INTO scnScenarios (id,version,description,author,created_at,updated_at,tailNumber,flightLegCounter,name )
VALUES ('98','','','','2014-05-21 22:04:05','','9001','12','bolo') ON DUPLICATE KEY UPDATE ID=last_insert_rowid() , description='',author='';
Returns this error:
SQLiteManager: Likely SQL syntax error: INSERT INTO scnScenarios (id,version,description,author,created_at,updated_at,tailNumber,flightLegCounter,name )
VALUES ('98','','','','2014-05-21 22:04:05','','9001','12','bolo') ON DUPLICATE KEY UPDATE ID=last_insert_rowid() , description='',author=''; [ near "ON": syntax error ]
Exception Name: NS_ERROR_FAILURE
Exception Message: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [mozIStorageConnection.createStatement]