mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-26 04:27:25 +00:00
remove large unnecessary buffer.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@6712 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
293401493e
commit
c3d3656a1e
@ -357,10 +357,8 @@ static JSBool odbc_get_data(JSContext * cx, JSObject * obj, uintN argc, jsval *a
|
|||||||
if (odbc_obj->stmt) {
|
if (odbc_obj->stmt) {
|
||||||
SQLSMALLINT c = 0, x = 0;
|
SQLSMALLINT c = 0, x = 0;
|
||||||
SQLLEN m = 0;
|
SQLLEN m = 0;
|
||||||
char code[66560];
|
|
||||||
|
|
||||||
switch_snprintf(code, sizeof(code), "~var _oDbC_dB_RoW_DaTa_ = {}");
|
eval_some_js("~var _oDbC_dB_RoW_DaTa_ = {}", cx, obj, rval);
|
||||||
eval_some_js(code, cx, obj, rval);
|
|
||||||
if (*rval == JS_FALSE) {
|
if (*rval == JS_FALSE) {
|
||||||
return JS_TRUE;
|
return JS_TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user