Project

General

Profile

Actions

Bug #1341

closed

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

Added by Anonymous over 16 years ago. Updated over 16 years ago.

Status:
Fixed
Priority:
Normal
Category:
mod_mysql_vhost
Target version:
ASK QUESTIONS IN Forums:

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".
gmaker3: * mod_mysql_vhost_la-mod_mysql_vhost.lo Fehler 1
gmaker3: Leaving directory `/usr2/MIPS/lighttpd-1.5.0/src'
gmaker2:
all-recursive Fehler 1
gmaker2: Leaving directory `/usr2/MIPS/lighttpd-1.5.0/src'
gmaker1: *
* all-recursive Fehler 1
gmaker1: Leaving directory `/usr2/MIPS/lighttpd-1.5.0'

-- behrens

Actions #1

Updated by Anonymous over 16 years ago

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

-- behrens

Actions #2

Updated by jan over 16 years ago

  • Status changed from New to Fixed
  • Resolution set to fixed

fixed in r1995

Actions

Also available in: Atom