PDA

View Full Version : string storage in database (1.3.3)


medic
05-03-2007, 16:06
Sorry, i am sure i am bugging now:

mysql> explain history_text;
+--------+---------------------+------+-----+---------+-------+
| Field | Type | Null | Key | Default | Extra |
+--------+---------------------+------+-----+---------+-------+
| id | bigint(20) unsigned | NO | PRI | 0 | |

shouldn't id maybe be auto-increment ?
because the server is trying to insert without giving ID field, which means it's null and cannot insert because of duplicate (primary uniq) key ..

best regards
Andreas

P.S.: and thank you for being so patient with me

Alexei
05-03-2007, 16:30
No, it shouldn't be auto incerement. Thanks for reporting this.

Alexei
20-03-2007, 17:33
The issue has been fixed.