Ticket #883: diff
File diff, 416 bytes (added by , 16 years ago) |
---|
-
db/db_base.cpp
diff --git a/db/db_base.cpp b/db/db_base.cpp index 279cf14..a8ab6b2 100644
a b int DB_CONN::insert_id() { 113 113 if (retval) return retval; 114 114 rp = mysql_store_result(mysql); 115 115 row = mysql_fetch_row(rp); 116 retval = atoi(row[0]); 116 117 mysql_free_result(rp); 117 return atoi(row[0]);118 return retval; 118 119 } 119 120 120 121 void DB_CONN::print_error(const char* p) {