User: bogdan_iancu
Date: 2006/05/24 01:53:34 PDT
OpenSER CVS - Commit Details
Modified files:
modules/unixodbc dbase.c dbase.h list.c list.h my_con.c
my_con.h res.c row.c row.h
Commit Log:
- applied path for fixing several bugs :
unixodbc patch wasteful memory fixes and reconnect
This patch fixes unixodbc wasteful memory allocation.
Previously the module allocated 1k for each retrieved
column regardless of actual size. It now allocates the
proper size of the data. Reconnect on connection loss
is also fixed as this did not work before
Credits go to Sumeet Gupta <[EMAIL PROTECTED]>
Closes 1493938.
Revision Changes Path
1.7 +95 -64 sip-server/modules/unixodbc/dbase.c
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/dbase.c?r1=1.6&r2=1.7
]
1.2 +2 -1 sip-server/modules/unixodbc/dbase.h
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/dbase.h?r1=1.1&r2=1.2
]
1.7 +66 -9 sip-server/modules/unixodbc/list.c
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/list.c?r1=1.6&r2=1.7
]
1.4 +6 -4 sip-server/modules/unixodbc/list.h
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/list.h?r1=1.3&r2=1.4
]
1.7 +12 -7 sip-server/modules/unixodbc/my_con.c
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/my_con.c?r1=1.6&r2=1.7
]
1.6 +5 -3 sip-server/modules/unixodbc/my_con.h
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/my_con.h?r1=1.5&r2=1.6
]
1.6 +18 -15 sip-server/modules/unixodbc/res.c
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/res.c?r1=1.5&r2=1.6
]
1.3 +4 -3 sip-server/modules/unixodbc/row.c
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/row.c?r1=1.2&r2=1.3
]
1.2 +3 -2 sip-server/modules/unixodbc/row.h
[
http://openser.cvs.sourceforge.net/openser/sip-server/modules/unixodbc/row.h?r1=1.1&r2=1.2
]
_______________________________________________
Devel mailing list
[email protected]
http://openser.org/cgi-bin/mailman/listinfo/devel