1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-07 20:39:18 -04:00
ports/databases/p5-DBD-mysql/files/patch-dbdimp.h
Peter Pentchev 9928d15daf Unbreak DBD::mysql for MySQL 4.0.x - remove all the mysql_sqlstate()
ifdef's from dbdimp.c and dbdimp.h, as upstream apparently intended in
4.003, but did not quite catch them all.

Approved by:	skv (maintainer)
2007-03-22 15:46:26 +00:00

14 lines
421 B
C

--- dbdimp.h.orig Thu Mar 22 10:28:38 2007
+++ dbdimp.h Thu Mar 22 10:28:54 2007
@@ -282,11 +282,7 @@
#endif
#include <dbd_xsh.h>
-#if MYSQL_VERSION_ID >= SQL_STATE_VERSION
void do_error (SV* h, int rc, const char *what, const char *sqlstate);
-#else
-void do_error (SV* h, int rc, const char *what);
-#endif
SV *dbd_db_fieldlist (MYSQL_RES* res);
void dbd_preparse (imp_sth_t *imp_sth, SV *statement);