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:
Michael Jerris 2007-12-12 22:53:47 +00:00
parent 293401493e
commit c3d3656a1e

View File

@ -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;
} }