[CONJ-203] I cannot reset auto_increment from java Created: 2015-10-16  Updated: 2015-10-23  Resolved: 2015-10-23

Status: Closed
Project: MariaDB Connector/J
Component/s: Other
Affects Version/s: 1.2.3
Fix Version/s: 1.2.3

Type: Bug Priority: Critical
Reporter: Jonas LEIN Assignee: Diego Dupin
Resolution: Cannot Reproduce Votes: 0
Labels: None
Environment:

Windows 8.1
64 bit
Eclipse



 Description   

I was trying to run the query: ALTER TABLE `utente`
AUTO_INCREMENT=1; from my java program but it did not accepted the statement.. i checked the syntax, run it on HeidiSQL but everything was alright as it should be and the query ran properly, then i tried other kind of queries and they all worked properly but the one i mentioned on top was not working...
i also made sure that my table was empty so i think that is something related with driver that is not allowing to perform the ALTER TABLE `utente`
AUTO_INCREMENT=1; query



 Comments   
Comment by Diego Dupin [ 2015-10-23 ]

Hi, your query is perfectly normal.
I've added this request to test suite without problems.

Did you have the exact Exception ?

Comment by Jonas LEIN [ 2015-10-23 ]

I don't know i rebooted everything was working normally... weird. but thanks for ur help

Comment by Diego Dupin [ 2015-10-23 ]

ok, i will close this issue so.
(but will keep the additionnal test unit)

Generated at Thu Feb 08 03:13:56 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.