The setup is like this:
- the operating system is set to german locale (decimal separator is ',')
- the database used the English setup (expected decimal separator is '.')
this results in the following error:
Code: Select all
#21S01Column count doesn't match value count at row 1.
Code: Select all
141216 11:43:17 30 Query SELECT * FROM 1Hz WHERE 1=0
30 Query INSERT INTO 1Hz (Id, `AI 1`, Channel) VALUES ('2014-12-16T11:43:17.123456', 3,1415, 1,2345)
here is a simple delphi application that shows how to reproduce the error:
https://dl.dropboxusercontent.com/u/243 ... _MySQL.zip
the example also includes a text-file with the create script for the database table.
when I set the OS locale to English it works.
Please let me know if you can reproduce the issue (I can reproduce it on 2 different PCs).