[Phpmyadmin-devel] Possible bug?

I was writing Selenium tests for creating a table. In the interface, I tried to add a column, named "id", set it to type "int" and selected Index as "Primary", and clicked the A_I checkbox. It gave me an error "Multiple primary key defined" I had an older version (3.4.2), I tried this there, and it allowed me to create the table. Is this a known bug in the latest release? -- Ayush Chaudhary

Le 2013-08-14 17:07, Ayush Chaudhary a écrit :
I was writing Selenium tests for creating a table. In the interface, I tried to add a column, named "id", set it to type "int" and selected Index as "Primary", and clicked the A_I checkbox. It gave me an error "Multiple primary key defined"
I had an older version (3.4.2), I tried this there, and it allowed me to create the table. Is this a known bug in the latest release?
-- Ayush Chaudhary
Ayush, with current master, trying to create a table with the scenario you describe works for me. -- Marc Delisle http://infomarc.info

Hi, On Saturday, 17 August 2013 at 5:07 PM, Marc Delisle wrote:
Le 2013-08-14 17:07, Ayush Chaudhary a écrit :
I was writing Selenium tests for creating a table. In the interface, I tried to add a column, named "id", set it to type "int" and selected Index as "Primary", and clicked the A_I checkbox. It gave me an error "Multiple primary key defined"
I had an older version (3.4.2), I tried this there, and it allowed me to create the table. Is this a known bug in the latest release?
-- Ayush Chaudhary
Ayush, with current master, trying to create a table with the scenario you describe works for me.
Sorry for not updating here. It was a bug and I fixed it here: https://github.com/phpmyadmin/phpmyadmin/commit/5544ad9572fba8d489def61e6b51...
-- Marc Delisle http://infomarc.info
------------------------------------------------------------------------------ Get 100% visibility into Java/.NET code with AppDynamics Lite! It's a free troubleshooting tool designed for production. Get down to code-level detail for bottlenecks, with <2% overhead. Download for free and get started troubleshooting in minutes. http://pubads.g.doubleclick.net/gampad/clk?id=48897031&iu=/4140/ostg.clktrk _______________________________________________ Phpmyadmin-devel mailing list Phpmyadmin-devel@lists.sourceforge.net (mailto:Phpmyadmin-devel@lists.sourceforge.net) https://lists.sourceforge.net/lists/listinfo/phpmyadmin-devel
-- Ayush Chaudhary
participants (2)
-
Ayush Chaudhary
-
Marc Delisle