SQLBOX + sqlbox multi-record queries

2013-01-02 Thread michael osakede
Hi, Right now sqlbox processes one row at a time. Can anyone help with a patch or code replacement for sqlbox_mysql.c that can help me push messages are 10-1000 messages per query? i saw this link  http://www.magicom-bcn.net/kannel/sqlbox-standalone-multi-20080227.patch but no luck implementing

Re: SQLBOX + sqlbox multi-record queries

2013-01-02 Thread spameden
I implemented this based on the link you gave, it's very easy to patch against current SVN revision, if you will had problems let me know, I'll post my patch. 2013/1/2 michael osakede : > Hi, > > Right now sqlbox processes one row at a time. > > Can anyone help with a patch or code replacement for

Re: SQLBOX + sqlbox multi-record queries

2013-01-02 Thread michael osakede
Hi, What i need is a step by step to apply this patch. What command do i use, from which directory? A step by step guide for CentOS will be nice Michael From: spameden To: michael osakede Cc: "users@kannel.org" ; Stipe Tolj Sent: Wednesday, January 2, 201

Re: SQLBOX + sqlbox multi-record queries

2013-01-02 Thread spameden
You need to modify specific files mentioned in this patch. read this - http://en.wikipedia.org/wiki/Diff#Unified_format Just read .patch file and do step-by-step editing relevant lines of the corresponding files. i.e. diff -rbu sqlbox-standalone/gw/sqlbox.c sqlbox-standalone-ajg-1.0/gw/sqlbox.c

Re: SQLBOX + sqlbox multi-record queries

2013-01-02 Thread michael osakede
Hi, after applying the patch i get this error. Don't know why i am getting this?  If possible can you share with me ur sqlbox folder compressed? / [root@ip-97-74-197-164 ~]# /usr/local/sbin/sqlbox sqlbox.conf 2013-01-02 19:33:21 [23828] [0] INFO: Debug_lvl = -1, log_file = , log_lvl = 0 2013

*** glibc detected *** /usr/local/sbin/sqlbox: double free or corruption (!prev): 0x000000001a0a9a80 ***

2013-01-02 Thread michael osakede
Hi, after applying the patch i get this error. Don't know why i am getting this?  If possible can you share with me ur sqlbox folder compressed? / [root@ip-97-74-197-164 ~]# /usr/local/sbin/sqlbox sqlbox.conf 2013-01-02 19:33:21 [23828] [0] INFO: Debug_lvl = -1, log_file = , log_lvl = 0 20