- The original db_do_init() function is available so these modules
don't need to be changed.
... | ... |
@@ -133,7 +133,7 @@ static int db_mysql_submit_query(const db1_con_t* _h, const str* _s) |
133 | 133 |
*/ |
134 | 134 |
db1_con_t* db_mysql_init(const str* _url) |
135 | 135 |
{ |
136 |
- return db_do_init(_url, (void *)db_mysql_new_connection, 0); |
|
136 |
+ return db_do_init(_url, (void *)db_mysql_new_connection); |
|
137 | 137 |
} |
138 | 138 |
|
139 | 139 |
|
... | ... |
@@ -163,7 +163,7 @@ const char* db_oracle_error(ora_con_t* con, sword status) |
163 | 163 |
*/ |
164 | 164 |
db1_con_t* db_oracle_init(const str* _url) |
165 | 165 |
{ |
166 |
- return db_do_init(_url, (void *)db_oracle_new_connection, 0); |
|
166 |
+ return db_do_init(_url, (void *)db_oracle_new_connection); |
|
167 | 167 |
} |
168 | 168 |
|
169 | 169 |
|
... | ... |
@@ -73,7 +73,7 @@ static struct sqlite_connection * db_sqlite_new_connection(const struct db_id* i |
73 | 73 |
|
74 | 74 |
db1_con_t* db_sqlite_init(const str* _url) |
75 | 75 |
{ |
76 |
- return db_do_init(_url, (void *) db_sqlite_new_connection, 0); |
|
76 |
+ return db_do_init(_url, (void *) db_sqlite_new_connection); |
|
77 | 77 |
} |
78 | 78 |
|
79 | 79 |
|
... | ... |
@@ -172,7 +172,7 @@ static int db_unixodbc_submit_query(const db1_con_t* _h, const str* _s) |
172 | 172 |
*/ |
173 | 173 |
db1_con_t* db_unixodbc_init(const str* _url) |
174 | 174 |
{ |
175 |
- return db_do_init(_url, (void*)db_unixodbc_new_connection, 0); |
|
175 |
+ return db_do_init(_url, (void*)db_unixodbc_new_connection); |
|
176 | 176 |
} |
177 | 177 |
|
178 | 178 |
/* |