~hartmut-php/eventum/no-mysql-calls

Viewing all changes in revision 4333.

  • Committer: Hartmut Holzgraefe
  • Date: 2011-05-28 17:01:20 UTC
  • Revision ID: hartmut@mysql.com-20110528170120-ubuy9zncn2mg7k9e
use SQL LAST_INSERT_ID() instead of client APIs mysql_insert_id()

still not really portable, but now other databases can at least
wrap their SQL alternatives into a SQL function called LAST_INSERT_ID()

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: