search for: mysql_store_result

Displaying 11 results from an estimated 11 matches for "mysql_store_result".

2003 Oct 03
4
PATCH: mysql authentication
Here's another patch. This one isn't much different from the last patch, except it tries a little harder to make sure that the required fields are returned by the query (like the pgsql module does). One question about how t_strdup works. How and who should memory returned by t_strdup be freed? My patch has a function my_get_str() which returns the value of t_strdup, and then I do
2009 Sep 09
1
MySQL question
An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20090909/4ba848c0/attachment.htm -------------- next part -------------- A non-text attachment was scrubbed... Name: bhfisher.vcf Type: text/x-vcard Size: 253 bytes Desc: not available Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20090909/4ba848c0/attachment.vcf
2004 Aug 23
1
Problem with mysql and with asterisk
...ines.h:37: `MYSQL_FIELD' undeclared (first use in this function) mysql-vm-routines.h:37: `fields' undeclared (first use in this function) mysql-vm-routines.h:68: warning: implicit declaration of function `mysql_query' mysql-vm-routines.h:69: warning: implicit declaration of function `mysql_store_result' mysql-vm-routines.h:70: `rowval' undeclared (first use in this function) mysql-vm-routines.h:70: warning: implicit declaration of function `mysql_fetch_row' mysql-vm-routines.h:71: warning: implicit declaration of function `mysql_num_fields' mysql-vm-routines.h:72: warning: impli...
2007 May 23
0
Problems compiling res_config_mysql (asterisk addons)
...l.c:144: undefined reference to `mysql_error' res_config_mysql.o(.text+0x3a7):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:144: undefined reference to `ast_log' res_config_mysql.o(.text+0x3da):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:149: undefined reference to `mysql_store_result' res_config_mysql.o(.text+0x3f5):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:150: undefined reference to `mysql_num_fields' res_config_mysql.o(.text+0x406):/usr/local/src/asterisk-addons-1.4.1/res_config_mysql.c:151: undefined reference to `mysql_fetch_fields' res_config_m...
2006 May 17
0
Problem compiling NDOUtils 1.3.1
...aving problems compiling NDOUtils for use with MySQL. I've googled for NDOUtils, NDOUtils and Mysql. But I'm not having any luck I've tried specifying the --with-mysql-lib and --with-mysql-inc but with no luck. The message I'm getting when I run configure is below: checking for mysql_store_result in -lmysqlclient... no *** MySQL library could not be located... ************************** You chose to compile NDBXT with MySQL support, but I was unable to locate the MySQL library on your system. If the library is installed, use the --with-mysql-lib argument to specify the location of the...
2006 Oct 21
1
mysql-5.0.26 stored procedure authorization, take 2
Last time I came up with a problem with concernin MySQL authorization with stored procedures. Timo helped me get going by with modified client_flags (MULTISTATEMENT keyword). Now all it happened again but from another way. My stored proce for MySQL is causing fillowing error: "Oct 21 12:39:22 haos dovecot: auth-worker(default): sql(user,192.168.X.X): Password query fai led: Commands out of
2004 Apr 12
1
Voicemail config from database
...outines.h:37: `MYSQL_FIELD' undeclared (first use in this function) mysql-vm-routines.h:37: `fields' undeclared (first use in this function) mysql-vm-routines.h:69: warning: implicit declaration of function `mysql_query' mysql-vm-routines.h:70: warning: implicit declaration of function `mysql_store_result' mysql-vm-routines.h:71: `rowval' undeclared (first use in this function) mysql-vm-routines.h:71: warning: implicit declaration of function `mysql_fetch_row' mysql-vm-routines.h:72: warning: implicit declaration of function `mysql_num_fields' mysql-vm-routines.h:73: warning: implici...
2006 Jan 12
5
[Announce] Web-MeetMe v2.0.0
[New Features] 1. Added focus and tab-order to all input fields 2. Dynamic generation of date/month/year listboxes a. It is no longer possible to schedule an invalid date. 3. Added 'Extend' and 'End Now' buttons to the monitor page. 4. Invite button on the monitor page. This greatly simplifies the process of adding callers to a conference. The ./lib/defines
2006 Nov 22
11
Rewriting caller ID from database?
Hi Most of our customers have generic names like "Hospital", so I need to rewrite their caller ID name by looking up the number in a database on the Asterisk server, and rewriting the name such as "Reading Hospital" so that we know who's calling. Any idea if this can be done with Asterisk, and how to do it? Thank you.
2010 Mar 05
2
Bug in driver-mysql.c + fix
...{ @@ -429,6 +430,7 @@ struct mysql_db *db = (struct mysql_db *)_db; struct mysql_connection *conn; struct mysql_result *result; + int nr; result = i_new(struct mysql_result, 1); result->api = driver_mysql_result; @@ -442,6 +444,17 @@ case 1: /* query ok */ result->result = mysql_store_result(conn->mysql); + while((nr = mysql_next_result(conn->mysql)) >= 0) { + /* more results? -1 = no, >0 = error, 0 = yes + * Because of the CLIENT_MULTI_RESULTS on mysql_real_connect() + * we need to read extra results - there should not be any. + */ + if(nr == 0) /* Just ign...
2004 Apr 12
0
RE: Asterisk-Users digest, Vol 1 #3408 - 12 msgs
...outines.h:37: `MYSQL_FIELD' undeclared (first use in this function) mysql-vm-routines.h:37: `fields' undeclared (first use in this function) mysql-vm-routines.h:69: warning: implicit declaration of function `mysql_query' mysql-vm-routines.h:70: warning: implicit declaration of function `mysql_store_result' mysql-vm-routines.h:71: `rowval' undeclared (first use in this function) mysql-vm-routines.h:71: warning: implicit declaration of function `mysql_fetch_row' mysql-vm-routines.h:72: warning: implicit declaration of function `mysql_num_fields' mysql-vm-routines.h:73: warning: implici...