Lines 134-140
Link Here
|
134 |
|
134 |
|
135 |
#define _MYSQL_PORT "3306" |
135 |
#define _MYSQL_PORT "3306" |
136 |
|
136 |
|
137 |
#include <mysql.h> |
137 |
#include </usr/include/mysql/mysql.h> |
138 |
#include "conf.h" |
138 |
#include "conf.h" |
139 |
#include "../contrib/mod_sql.h" |
139 |
#include "../contrib/mod_sql.h" |
140 |
|
140 |
|
141 |
-- contrib/mod_quotatab_sql.c.org 2004-06-08 00:58:44.000000000 +0200 |
141 |
++ contrib/mod_quotatab_sql.c 2005-01-09 10:57:22.785718576 +0100 |
Lines 685-691
Link Here
|
685 |
} |
685 |
} |
686 |
|
686 |
|
687 |
tab->tab_data = pcalloc(tab->tab_pool, sizeof(char)); |
687 |
tab->tab_data = pcalloc(tab->tab_pool, sizeof(char)); |
688 |
((char *) tab->tab_data) = pstrdup(tab->tab_pool, select_query); |
688 |
tab->tab_data = pstrdup(tab->tab_pool, select_query); |
689 |
} |
689 |
} |
690 |
|
690 |
|
691 |
/* Set all the necessary function pointers. */ |
691 |
/* Set all the necessary function pointers. */ |