File tree 2 files changed +2
-2
lines changed
2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1827,7 +1827,7 @@ int dbd_discon_all (SV *drh, imp_drh_t *imp_drh) {
1827
1827
dTHX ;
1828
1828
PERL_UNUSED_ARG (drh );
1829
1829
1830
- mysql_server_end ();
1830
+ mysql_library_end ();
1831
1831
1832
1832
/* The disconnect_all concept is flawed and needs more work */
1833
1833
if (!PL_dirty && !SvTRUE (perl_get_sv ("DBI::PERL_ENDING" ,0 ))) {
@@ -1871,7 +1871,6 @@ void dbd_db_destroy(SV* dbh, imp_dbh_t* imp_dbh) {
1871
1871
}
1872
1872
dbd_db_disconnect (dbh , imp_dbh );
1873
1873
}
1874
- mysql_library_end ();
1875
1874
Safefree (imp_dbh -> pmysql );
1876
1875
1877
1876
/* Tell DBI, that dbh->destroy must no longer be called */
Original file line number Diff line number Diff line change @@ -237,6 +237,7 @@ struct imp_sth_st {
237
237
#define dbd_db_destroy mysql_db_destroy
238
238
#define dbd_db_STORE_attrib mysql_db_STORE_attrib
239
239
#define dbd_db_FETCH_attrib mysql_db_FETCH_attrib
240
+ #define dbd_discon_all mysql_discon_all
240
241
#define dbd_st_prepare mysql_st_prepare
241
242
#define dbd_st_execute mysql_st_execute
242
243
#define dbd_st_fetch mysql_st_fetch
You can’t perform that action at this time.
0 commit comments