(jschar*) sqlite3_column_text16(mDBStatement, i), sqlite3_column_bytes16(mDBStatement, i)/2);
(jschar*) sqlite3_column_text16(NativeStatement(), i), sqlite3_column_bytes16(NativeStatement(), i)/2);
mozStorageStatementRow::GetProperty(nsIXPConnectWrappedNative *wrapper, JSContext * cx,                         JSObject * obj, jsval id, jsval * vp, PRBool *_retval){    *_retval = PR_FALSE;    if (JSVAL_IS_STRING(id)) {        nsDependentString jsid((PRUnichar *)::JS_GetStringChars(JSVAL_TO_STRING(id)),                               ::JS_GetStringLength(JSVAL_TO_STRING(id)));        for (int i = 0; i < mNumColumns; i++) {            if (jsid.Equals(*(*mColumnNames)[i])) {                int ctype = sqlite3_column_type(mDBStatement, i);                if (ctype == SQLITE_INTEGER || ctype == SQLITE_FLOAT) {                    double dval = sqlite3_column_double(mDBStatement, i);                    if (!JS_NewNumberValue(cx, dval, vp)) {                        *_retval = PR_FALSE;                        return NS_ERROR_FAILURE;                    }                } else if (ctype == SQLITE_TEXT) {                    JSString *str = JS_NewUCStringCopyN(cx,                                                        (jschar*) sqlite3_column_text16(mDBStatement, i),                                                        sqlite3_column_bytes16(mDBStatement, i)/2);                    if (!str) {                        *_retval = PR_FALSE;                        return NS_ERROR_FAILURE;                    }                    *vp = STRING_TO_JSVAL(str);                } else if (ctype == SQLITE_BLOB) {                    JSString *str = JS_NewStringCopyN(cx,                                                      (char*) sqlite3_column_blob(mDBStatement, i),                                                      sqlite3_column_bytes(mDBStatement, i));                    if (!str) {                        *_retval = PR_FALSE;                        return NS_OK;                    }                } else if (ctype == SQLITE_NULL) {                    *vp = JSVAL_NULL;                } else {                    NS_ERROR("sqlite3_column_type returned unknown column type, what's going on?");                }                *_retval = PR_TRUE;                break;            }        }    }    return NS_OK;}