developer.jelix.org is not used any more and exists only for
history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.
Opened 10 years ago
Closed 10 years ago
#1244 closed bug (fixed)
Add link identifier to function lastInsertId in mysql API
Reported by: | michael | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | Jelix 1.1.8 |
Component: | jelix:plugins:db | Version: | 1.1.7 |
Severity: | normal | Keywords: | mysql |
Cc: | Blocked By: | ||
Blocking: | Documentation needed: | no | |
Hosting Provider: | Php version: |
Description
For fixe bug when two mysql connections is used. In file: /jelix/plugins/db/mysql/mysql.dbconnection.php
BEFORE public function lastInsertId($fromSequence=){ return mysql_insert_id(); }
AFTER public function lastInsertId($fromSequence=){ return mysql_insert_id($this->_connection); }
Note explaining : http://jelix.org/forums/forum/5-jelix-utilisation-et-developpement/posts/7436-0-probleme-avec-lastinsertid-de-mysql-dbconnection-php
Change History (1)
comment:1 Changed 10 years ago by laurentj
- Milestone set to Jelix 1.1.8
- Resolution set to fixed
- Status changed from new to closed
Note: See
TracTickets for help on using
tickets.
fixed. thanks.