Bug #18079 | Limit to exec query | ||
---|---|---|---|
Submitted: | 8 Mar 2006 16:04 | Modified: | 22 Mar 2006 12:14 |
Reporter: | Lincoln Ferreira | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / ODBC | Severity: | S1 (Critical) |
Version: | 3.51.11 | OS: | Windows (Win32) |
Assigned to: | Bogdan Degtyariov | CPU Architecture: | Any |
[8 Mar 2006 16:04]
Lincoln Ferreira
[21 Mar 2006 19:53]
Bogdan Degtyariov
I can't repeat this bug neither with MyODBC 3.51.12 nor with MyODBC 3.51.11. Above is the test case
[21 Mar 2006 19:54]
Bogdan Degtyariov
test case
Attachment: test18079.c (text/plain), 6.10 KiB.
[22 Mar 2006 12:14]
Lincoln Ferreira
I try to run your test program and get the real problem with my code. This sintax to create an auto_increment field is wrong : CREATE TABLE mytable (AutoSequencial bigint(20) unsigned NOT NULL auto_increment) ENGINE=InnoDB DEFAULT CHARSET=latin1 CHECKSUM=1; The correct sintax is: CREATE TABLE mytable (AutoSequencial bigint(20) unsigned NOT NULL auto_increment primary key) ENGINE=InnoDB DEFAULT CHARSET=latin1 CHECKSUM=1; or CREATE TABLE mytable (AutoSequencial bigint(20) unsigned NOT NULL auto_increment, PRIMARY KEY(AutoSequencial)) ENGINE=InnoDB DEFAULT CHARSET=latin1 CHECKSUM=1;