cannot create more than one primarykey on a table
Originally reported on Google Code with ID 77 ``` I try make a new table with more than one primary key, and an error occcured ```
Reported by `galihazizy` on 2011-12-21 12:03:34
Comments (4)
-
-
Account Deleted ``` i solved this by manually execute the sql :-D ```
Reported by `galihazizy` on 2011-12-22 12:59:04
-
``` Attached is a simple patch that resolves this issue by emitting different SQL in the case where there are multiple primary keys. Also attached is the resulting (patched) phpliteadmin file. This patch should resolve Issue 70 as well. ```
Reported by `sturtevant` on 2012-02-18 08:36:15
<hr>
- *Attachment: [compound_key_patch.php](https://storage.googleapis.com/google-code-attachments/phpliteadmin/issue-77/comment-3/compound_key_patch.php)*
- *Attachment: [phpliteadmin-1.9.1-patched.php](https://storage.googleapis.com/google-code-attachments/phpliteadmin/issue-77/comment-3/phpliteadmin-1.9.1-patched.php)*
-
``` Duplicate of issue
#70Sturtevant, thanks a lot for your fix. I have merged this into the current version with some minor improvements, so it will be available in 1.9.3 (will commit to svn in a minute). ```
Reported by `crazy4chrissi` on 2012-05-30 16:04:55 - Status changed: `Duplicate` - Merged into:
#70 - Log in to comment
``` this is definitely a bug that i can reproduce ```
Reported by `diracleo` on 2011-12-22 08:11:08