Ticket #1341 (closed defect: fixed)

Opened 10 months ago

Last modified 10 months ago

The identifier "MYSQL_OPT_RECONNECT" is undefined in mod_mysql_vhost.c, Line = 176

Reported by: behrens@takenet.de Assigned to: jan
Priority: normal Milestone: 1.5.0
Component: mod_mysql_vhost Version: 1.5.x-svn
Severity: normal Keywords: mysql, IRIX
Cc: Blocking:
Need Feedback: 0

Description

From the current 1.5.0-r1922

cc-1209 c99: WARNING File = mod_mysql_vhost.c, Line = 133

The controlling expression is constant.

if (!buffer_is_equal_string(s->core->backend, CONST_STR_LEN("mysql"))) continue;

cc-1196 c99: WARNING File = mod_mysql_vhost.c, Line = 142

The indicated function is declared implicitly.

if (sel->used && (qmark = index(sel->ptr, '?'))) {

cc-1515 c99: ERROR File = mod_mysql_vhost.c, Line = 142

A value of type "int" cannot be assigned to an entity of type "char *".

if (sel->used && (qmark = index(sel->ptr, '?'))) {

cc-1020 c99: ERROR File = mod_mysql_vhost.c, Line = 176

The identifier "MYSQL_OPT_RECONNECT" is undefined.

mysql_options(s->mysql, MYSQL_OPT_RECONNECT, &reconnect);

2 errors detected in the compilation of "mod_mysql_vhost.c". gmake[3]: *** [mod_mysql_vhost_la-mod_mysql_vhost.lo] Fehler 1 gmake[3]: Leaving directory `/usr2/MIPS/lighttpd-1.5.0/src' gmake[2]: *** [all-recursive] Fehler 1 gmake[2]: Leaving directory `/usr2/MIPS/lighttpd-1.5.0/src' gmake[1]: *** [all-recursive] Fehler 1 gmake[1]: Leaving directory `/usr2/MIPS/lighttpd-1.5.0'

Attachments

Change History

09/09/2007 10:08:57 AM changed by behrens@takenet.net

The error only exists when building against mysql 4.1.xx and not when using mysql 5.0.x

Btw: the anti spam plugin sucks

09/09/2007 12:00:15 PM changed by jan

  • status changed from new to closed.
  • resolution set to fixed.

fixed in [1995]


Add/Change #1341 (The identifier "MYSQL_OPT_RECONNECT" is undefined in mod_mysql_vhost.c, Line = 176)




Change Properties
Action