Menu

#2193 (ok 2.9.0) bigint auto_increment result error

2.6.4-pl4
fixed
1
2013-06-11
2006-07-17
amen
No

if my pk auto_increment id use bigint(20),and i
insert a new record,then the auto_increment id result
is error.
because the php function "mysql_insert_id" not
support bigint,you need to use mysql query "SELECT
LAST_INSERT_ID();".
you can see these description in mysql and php manual.

sorry for my poor english.

Discussion

  • amen

    amen - 2006-07-17
    • summary: bigint --> bigint auto_increment result error
     
  • Marc Delisle

    Marc Delisle - 2006-07-17
    • assigned_to: nobody --> lem9
     
  • Marc Delisle

    Marc Delisle - 2006-07-17
    • priority: 5 --> 1
    • summary: bigint auto_increment result error --> (ok 2.9.0) bigint auto_increment result error
    • status: open --> open-fixed
     
  • Marc Delisle

    Marc Delisle - 2006-07-17

    Logged In: YES
    user_id=210714

    fixed in cvs

     
  • Marc Delisle

    Marc Delisle - 2006-09-20
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed