Beispiel #1
0
        internal override string GetText(SQLiteStatement stmt, int index)
        {
#if !SQLITE_STANDARD
            int len = 0;
            return(UTF16ToString(UnsafeNativeMethods.sqlite3_column_text16_interop(stmt._sqlite_stmt, index, ref len), len));
#else
            return(UTF16ToString(UnsafeNativeMethods.sqlite3_column_text16(stmt._sqlite_stmt, index),
                                 UnsafeNativeMethods.sqlite3_column_bytes16(stmt._sqlite_stmt, index)));
#endif
        }