#include <database.mod/sqlite.mod/.bmx/sqlite.bmx.debug.win32.x86.h>
struct BBString_1{BBClass_String* clas;BBULONG hash;int length;BBChar buf[1];};
struct BBString_39{BBClass_String* clas;BBULONG hash;int length;BBChar buf[39];};
struct BBString_41{BBClass_String* clas;BBULONG hash;int length;BBChar buf[41];};
struct BBString_42{BBClass_String* clas;BBULONG hash;int length;BBChar buf[42];};
struct BBString_3{BBClass_String* clas;BBULONG hash;int length;BBChar buf[3];};
struct BBString_17{BBClass_String* clas;BBULONG hash;int length;BBChar buf[17];};
struct BBString_33{BBClass_String* clas;BBULONG hash;int length;BBChar buf[33];};
struct BBString_24{BBClass_String* clas;BBULONG hash;int length;BBChar buf[24];};
struct BBString_36{BBClass_String* clas;BBULONG hash;int length;BBChar buf[36];};
struct BBString_20{BBClass_String* clas;BBULONG hash;int length;BBChar buf[20];};
struct BBString_18{BBClass_String* clas;BBULONG hash;int length;BBChar buf[18];};
struct BBString_35{BBClass_String* clas;BBULONG hash;int length;BBChar buf[35];};
struct BBString_28{BBClass_String* clas;BBULONG hash;int length;BBChar buf[28];};
struct BBString_6{BBClass_String* clas;BBULONG hash;int length;BBChar buf[6];};
struct BBString_25{BBClass_String* clas;BBULONG hash;int length;BBChar buf[25];};
struct BBString_19{BBClass_String* clas;BBULONG hash;int length;BBChar buf[19];};
struct BBString_22{BBClass_String* clas;BBULONG hash;int length;BBChar buf[22];};
struct BBString_30{BBClass_String* clas;BBULONG hash;int length;BBChar buf[30];};
struct BBString_26{BBClass_String* clas;BBULONG hash;int length;BBChar buf[26];};
struct BBString_32{BBClass_String* clas;BBULONG hash;int length;BBChar buf[32];};
struct BBString_118{BBClass_String* clas;BBULONG hash;int length;BBChar buf[118];};
struct BBString_63{BBClass_String* clas;BBULONG hash;int length;BBChar buf[63];};
struct BBString_29{BBClass_String* clas;BBULONG hash;int length;BBChar buf[29];};
struct BBString_27{BBClass_String* clas;BBULONG hash;int length;BBChar buf[27];};
struct BBString_38{BBClass_String* clas;BBULONG hash;int length;BBChar buf[38];};
struct BBString_4{BBClass_String* clas;BBULONG hash;int length;BBChar buf[4];};
struct BBString_5{BBClass_String* clas;BBULONG hash;int length;BBChar buf[5];};
struct BBString_7{BBClass_String* clas;BBULONG hash;int length;BBChar buf[7];};
static struct BBString_1 _s8={
	&bbStringClass,
	0xe7661a0566dadf97,
	1,
	{39}
};
static struct BBString_39 _s32={
	&bbStringClass,
	0x31f43c1985c25af8,
	39,
	{40,73,110,116,101,114,110,97,108,32,79,110,108,121,41,32,68
	,97,116,97,98,97,115,101,32,116,97,98,108,101,32,105,115
	,32,101,109,112,116,121}
};
static struct BBString_41 _s28={
	&bbStringClass,
	0xafd84f3b49756666,
	41,
	{40,73,110,116,101,114,110,97,108,32,79,110,108,121,41,32,84
	,97,98,108,101,32,79,114,32,114,101,99,111,114,100,32,78
	,111,116,32,102,111,117,110,100}
};
static struct BBString_1 _s6={
	&bbStringClass,
	0xfe96ecb3812f838,
	1,
	{41}
};
static struct BBString_1 _s54={
	&bbStringClass,
	0x747f69c2b26145,
	1,
	{46}
};
static struct BBString_42 _s40={
	&bbStringClass,
	0xf8372b0e0c2e0268,
	42,
	{50,110,100,32,112,97,114,97,109,101,116,101,114,32,116,111,32
	,115,113,108,105,116,101,51,95,98,105,110,100,32,111,117,116
	,32,111,102,32,114,97,110,103,101}
};
static struct BBString_3 _s9={
	&bbStringClass,
	0x3140a020f3cd1e86,
	3,
	{59,10,10}
};
static struct BBString_17 _s23={
	&bbStringClass,
	0xa589fa63762d4711,
	17,
	{65,32,109,97,108,108,111,99,40,41,32,102,97,105,108,101,100
}
};
static struct BBString_33 _s22={
	&bbStringClass,
	0x205453d15494b73e,
	33,
	{65,32,116,97,98,108,101,32,105,110,32,116,104,101,32,100,97
	,116,97,98,97,115,101,32,105,115,32,108,111,99,107,101,100
}
};
static struct BBString_33 _s35={
	&bbStringClass,
	0xe5e37a06da705b1,
	33,
	{65,98,111,114,116,32,100,117,101,32,84,111,32,99,111,110,115
	,116,114,97,105,110,116,32,118,105,111,108,97,116,105,111,110
}
};
static struct BBString_24 _s19={
	&bbStringClass,
	0x4c30aff799cf03b0,
	24,
	{65,99,99,101,115,115,32,112,101,114,109,105,115,115,105,111,110
	,32,100,101,110,105,101,100}
};
static struct BBString_33 _s18={
	&bbStringClass,
	0x84744c21ab41a98f,
	33,
	{65,110,32,105,110,116,101,114,110,97,108,32,108,111,103,105,99
	,32,101,114,114,111,114,32,105,110,32,83,81,76,105,116,101
}
};
static struct BBString_36 _s24={
	&bbStringClass,
	0xd84bf78740fcb420,
	36,
	{65,116,116,101,109,112,116,32,84,111,32,119,114,105,116,101,32
	,97,32,114,101,97,100,111,110,108,121,32,100,97,116,97,98
	,97,115,101}
};
static struct BBString_20 _s39={
	&bbStringClass,
	0x61f2b2ad23f41b13,
	20,
	{65,117,116,104,111,114,105,122,97,116,105,111,110,32,100,101,110
	,105,101,100}
};
static struct BBString_17 _s14={
	&bbStringClass,
	0xce3f7e19789d89a2,
	17,
	{66,69,71,73,78,32,84,82,65,78,83,65,67,84,73,79,78
}
};
static struct BBString_18 _s1={
	&bbStringClass,
	0x1563e9e2b29bcaaf,
	18,
	{67,79,77,77,73,84,32,84,82,65,78,83,65,67,84,73,79
	,78}
};
static struct BBString_35 _s20={
	&bbStringClass,
	0x82c82e24cc3653e0,
	35,
	{67,97,108,108,98,97,99,107,32,114,111,117,116,105,110,101,32
	,114,101,113,117,101,115,116,101,100,32,97,110,32,97,98,111
	,114,116}
};
static struct BBString_18 _s36={
	&bbStringClass,
	0x353c6741e5bac503,
	18,
	{68,97,116,97,32,84,121,112,101,32,109,105,115,109,97,116,99
	,104}
};
static struct BBString_28 _s31={
	&bbStringClass,
	0x4e2455e4a120f853,
	28,
	{68,97,116,97,98,97,115,101,32,108,111,99,107,32,112,114,111
	,116,111,99,111,108,32,101,114,114,111,114}
};
static struct BBString_6 _s46={
	&bbStringClass,
	0x41c966a54904e7e8,
	6,
	{69,114,114,111,114,32}
};
static struct BBString_17 _s47={
	&bbStringClass,
	0x86118c6723b4be8a,
	17,
	{69,114,114,111,114,32,97,100,100,105,110,103,32,117,115,101,114
}
};
static struct BBString_25 _s10={
	&bbStringClass,
	0xf3114f74c6693070,
	25,
	{69,114,114,111,114,32,97,117,116,104,101,110,116,105,99,97,116
	,105,110,103,32,117,115,101,114}
};
static struct BBString_19 _s48={
	&bbStringClass,
	0xb82d5d1fea4a6575,
	19,
	{69,114,114,111,114,32,99,104,97,110,103,105,110,103,32,117,115
	,101,114}
};
static struct BBString_22 _s0={
	&bbStringClass,
	0xda1352a7d297840b,
	22,
	{69,114,114,111,114,32,99,108,111,115,105,110,103,32,100,97,116
	,97,98,97,115,101}
};
static struct BBString_28 _s2={
	&bbStringClass,
	0x98ccb0d8ca98ec90,
	28,
	{69,114,114,111,114,32,99,111,109,109,105,116,116,105,110,103,32
	,116,114,97,110,115,97,99,116,105,111,110}
};
static struct BBString_19 _s49={
	&bbStringClass,
	0xbdb87a8eae326374,
	19,
	{69,114,114,111,114,32,100,101,108,101,116,105,110,103,32,117,115
	,101,114}
};
static struct BBString_22 _s11={
	&bbStringClass,
	0xe5fcc5f2c720ee2,
	22,
	{69,114,114,111,114,32,111,112,101,110,105,110,103,32,100,97,116
	,97,98,97,115,101}
};
static struct BBString_25 _s50={
	&bbStringClass,
	0x48fa39593b31d4a4,
	25,
	{69,114,114,111,114,32,112,114,101,112,97,114,105,110,103,32,115
	,116,97,116,101,109,101,110,116}
};
static struct BBString_25 _s51={
	&bbStringClass,
	0x31541e24c25d9aef,
	25,
	{69,114,114,111,114,32,114,101,115,101,116,116,105,110,103,32,115
	,116,97,116,101,109,101,110,116}
};
static struct BBString_30 _s13={
	&bbStringClass,
	0xa04557736a983af5,
	30,
	{69,114,114,111,114,32,114,111,108,108,105,110,103,32,98,97,99
	,107,32,116,114,97,110,115,97,99,116,105,111,110}
};
static struct BBString_26 _s15={
	&bbStringClass,
	0x2182482802d813a0,
	26,
	{69,114,114,111,114,32,115,116,97,114,116,105,110,103,32,116,114
	,97,110,115,97,99,116,105,111,110}
};
static struct BBString_26 _s52={
	&bbStringClass,
	0x7cf813d87cbdcef8,
	26,
	{70,97,105,108,101,100,32,116,111,32,98,105,110,100,32,112,97
	,114,97,109,101,116,101,114,32,40}
};
static struct BBString_39 _s41={
	&bbStringClass,
	0xa97d8884f1fb22f9,
	39,
	{70,105,108,101,32,111,112,101,110,101,100,32,116,104,97,116,32
	,105,115,32,110,111,116,32,97,32,100,97,116,97,98,97,115
	,101,32,102,105,108,101}
};
static struct BBString_41 _s29={
	&bbStringClass,
	0x4ee81469ef748402,
	41,
	{73,110,115,101,114,116,105,111,110,32,102,97,105,108,101,100,32
	,98,101,99,97,117,115,101,32,100,97,116,97,98,97,115,101
	,32,105,115,32,102,117,108,108}
};
static struct BBString_24 _s37={
	&bbStringClass,
	0x2b5b45f7ba804179,
	24,
	{76,105,98,114,97,114,121,32,117,115,101,100,32,105,110,99,111
	,114,114,101,99,116,108,121}
};
static struct BBString_32 _s42={
	&bbStringClass,
	0x261b5be162bb5a17,
	32,
	{78,111,116,105,102,105,99,97,116,105,111,110,115,32,102,114,111
	,109,32,115,113,108,105,116,101,51,95,108,111,103,40,41}
};
static struct BBString_42 _s25={
	&bbStringClass,
	0x8453299b1a14a6b5,
	42,
	{79,112,101,114,97,116,105,111,110,32,116,101,114,109,105,110,97
	,116,101,100,32,98,121,32,115,113,108,105,116,101,95,105,110
	,116,101,114,114,117,112,116,40,41}
};
static struct BBString_18 _s5={
	&bbStringClass,
	0xee3480787aff5f7a,
	18,
	{80,82,65,71,77,65,32,116,97,98,108,101,95,105,110,102,111
	,40}
};
static struct BBString_24 _s53={
	&bbStringClass,
	0x7a89cb9204ae2f3f,
	24,
	{80,97,114,97,109,101,116,101,114,32,99,111,117,110,116,32,109
	,105,115,109,97,116,99,104}
};
static struct BBString_20 _s12={
	&bbStringClass,
	0x5ce384a4f90ac45c,
	20,
	{82,79,76,76,66,65,67,75,32,84,82,65,78,83,65,67,84
	,73,79,78}
};
static struct BBString_118 _s63={
	&bbStringClass,
	0xa159bc7d725d70f6,
	118,
	{83,69,76,69,67,84,32,110,97,109,101,32,70,82,79,77,32
	,115,113,108,105,116,101,95,109,97,115,116,101,114,32,87,72
	,69,82,69,32,116,121,112,101,32,61,32,39,116,97,98,108
	,101,39,32,85,78,73,79,78,32,65,76,76,32,83,69,76
	,69,67,84,32,110,97,109,101,32,70,82,79,77,32,115,113
	,108,105,116,101,95,116,101,109,112,95,109,97,115,116,101,114
	,32,87,72,69,82,69,32,116,121,112,101,32,61,32,39,116
	,97,98,108,101,39}
};
static struct BBString_63 _s7={
	&bbStringClass,
	0x351c52956436e3e3,
	63,
	{83,69,76,69,67,84,32,115,113,108,32,70,82,79,77,32,115
	,113,108,105,116,101,95,109,97,115,116,101,114,32,87,72,69
	,82,69,32,84,121,112,101,32,61,32,39,116,97,98,108,101
	,39,32,97,110,100,32,110,97,109,101,32,61,32,39}
};
static struct BBString_29 _s17={
	&bbStringClass,
	0x357b3989edb45022,
	29,
	{83,81,76,32,101,114,114,111,114,32,79,114,32,109,105,115,115
	,105,110,103,32,100,97,116,97,98,97,115,101}
};
static struct BBString_6 _s62={
	&bbStringClass,
	0xd31c7633b1e4bfb8,
	6,
	{83,81,76,73,84,69}
};
static struct BBString_36 _s26={
	&bbStringClass,
	0x22d43995c3c7d9e2,
	36,
	{83,111,109,101,32,107,105,110,100,32,111,102,32,100,105,115,107
	,32,73,47,79,32,101,114,114,111,114,32,111,99,99,117,114
	,114,101,100}
};
static struct BBString_17 _s16={
	&bbStringClass,
	0xa1784d2049345f6a,
	17,
	{83,117,99,99,101,115,115,102,117,108,32,114,101,115,117,108,116
}
};
static struct BBString_36 _s27={
	&bbStringClass,
	0x67bde22b54050d3d,
	36,
	{84,104,101,32,100,97,116,97,98,97,115,101,32,100,105,115,107
	,32,105,109,97,103,101,32,105,115,32,109,97,108,102,111,114
	,109,101,100}
};
static struct BBString_27 _s21={
	&bbStringClass,
	0x3d0a60e3eebd50e5,
	27,
	{84,104,101,32,100,97,116,97,98,97,115,101,32,102,105,108,101
	,32,105,115,32,108,111,99,107,101,100}
};
static struct BBString_27 _s33={
	&bbStringClass,
	0x58c117520b5c6029,
	27,
	{84,104,101,32,100,97,116,97,98,97,115,101,32,115,99,104,101
	,109,97,32,99,104,97,110,103,101,100}
};
static struct BBString_36 _s34={
	&bbStringClass,
	0x4aa193a3483a645c,
	36,
	{84,111,111,32,109,117,99,104,32,100,97,116,97,32,70,111,114
	,32,111,110,101,32,114,111,119,32,111,102,32,97,32,116,97
	,98,108,101}
};
static struct BBString_32 _s30={
	&bbStringClass,
	0xe34729c13580e05d,
	32,
	{85,110,97,98,108,101,32,84,111,32,111,112,101,110,32,116,104
	,101,32,100,97,116,97,98,97,115,101,32,102,105,108,101}
};
static struct BBString_38 _s38={
	&bbStringClass,
	0xf17615ae1d0574ed,
	38,
	{85,115,101,115,32,79,83,32,102,101,97,116,117,114,101,115,32
	,78,111,116,32,115,117,112,112,111,114,116,101,100,32,111,110
	,32,104,111,115,116}
};
static struct BBString_27 _s43={
	&bbStringClass,
	0x793f7be16aa2166f,
	27,
	{87,97,114,110,105,110,103,115,32,102,114,111,109,32,115,113,108
	,105,116,101,51,95,108,111,103,40,41}
};
static struct BBString_4 _s60={
	&bbStringClass,
	0xdec8f18e32f7e474,
	4,
	{98,108,111,98}
};
static struct BBString_6 _s58={
	&bbStringClass,
	0x71b58eac94f8019d,
	6,
	{100,111,117,98,108,101}
};
static struct BBString_5 _s59={
	&bbStringClass,
	0x6be68d0b4210ad1b,
	5,
	{102,108,111,97,116}
};
static struct BBString_3 _s57={
	&bbStringClass,
	0x97266e93bbc64ea,
	3,
	{105,110,116}
};
static struct BBString_7 _s56={
	&bbStringClass,
	0x2468c759d4a47b83,
	7,
	{105,110,116,101,103,101,114}
};
static struct BBString_7 _s55={
	&bbStringClass,
	0xd00955157cdbd2ab,
	7,
	{110,117,109,101,114,105,99}
};
static struct BBString_35 _s44={
	&bbStringClass,
	0x826e34c9816210eb,
	35,
	{115,113,108,105,116,101,95,115,116,101,112,40,41,32,104,97,115
	,32,97,110,111,116,104,101,114,32,114,111,119,32,114,101,97
	,100,121}
};
static struct BBString_36 _s45={
	&bbStringClass,
	0x58ff13d3dbc9f0df,
	36,
	{115,113,108,105,116,101,95,115,116,101,112,40,41,32,104,97,115
	,32,102,105,110,105,115,104,101,100,32,101,120,101,99,117,116
	,105,110,103}
};
struct BBDebugScope_1{int kind; const char *name; BBDebugDecl decls[2]; };
struct BBDebugScope_16{int kind; const char *name; BBDebugDecl decls[17]; };
struct BBDebugScope_2{int kind; const char *name; BBDebugDecl decls[3]; };
struct BBDebugScope_22{int kind; const char *name; BBDebugDecl decls[23]; };
struct BBDebugScope_3{int kind; const char *name; BBDebugDecl decls[4]; };
struct BBDebugScope_4{int kind; const char *name; BBDebugDecl decls[5]; };
struct BBDebugScope_5{int kind; const char *name; BBDebugDecl decls[6]; };
struct BBDebugScope_6{int kind; const char *name; BBDebugDecl decls[7]; };
struct BBDebugScope_8{int kind; const char *name; BBDebugDecl decls[9]; };
void _database_sqlite_TSQLiteDatabaseLoader_New(struct database_sqlite_TSQLiteDatabaseLoader_obj* o) {
	_database_core_TDatabaseLoader_New((struct database_core_TDatabaseLoader_obj*)o);
	o->clas = &database_sqlite_TSQLiteDatabaseLoader;
	struct BBDebugScope __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"New",
		{
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 862, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_TDatabaseLoader_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdatabaseloader__type =((BBString*)&_s62);
	bbOnDebugLeaveScope();
}
struct database_core_TDBConnection_obj* _database_sqlite_TSQLiteDatabaseLoader_LoadDatabase_SSiSSSS(struct database_sqlite_TSQLiteDatabaseLoader_obj* o,BBSTRING bbt_dbname,BBSTRING bbt_host,BBINT bbt_port,BBSTRING bbt_user,BBSTRING bbt_password,BBSTRING bbt_server,BBSTRING bbt_options){
	((struct database_sqlite_TSQLiteDatabaseLoader_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_8 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"LoadDatabase",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteDatabaseLoader",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"dbname",
				"$",
				.var_address=&bbt_dbname
			},
			{
				BBDEBUGDECL_LOCAL,
				"host",
				"$",
				.var_address=&bbt_host
			},
			{
				BBDEBUGDECL_LOCAL,
				"port",
				"i",
				.var_address=&bbt_port
			},
			{
				BBDEBUGDECL_LOCAL,
				"user",
				"$",
				.var_address=&bbt_user
			},
			{
				BBDEBUGDECL_LOCAL,
				"password",
				"$",
				.var_address=&bbt_password
			},
			{
				BBDEBUGDECL_LOCAL,
				"server",
				"$",
				.var_address=&bbt_server
			},
			{
				BBDEBUGDECL_LOCAL,
				"options",
				"$",
				.var_address=&bbt_options
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 869, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct database_core_TDBConnection_obj*)database_sqlite_TDBSQLite_Create_TTDBConnection_SSiSSSS(bbt_dbname,bbt_host,bbt_port,bbt_user,bbt_password,bbt_server,bbt_options);
}
struct BBDebugScope_2 database_sqlite_TSQLiteDatabaseLoader_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TSQLiteDatabaseLoader",
	{
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteDatabaseLoader_New
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"LoadDatabase",
			"($,$,i,$,$,$,$):TDBConnection",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteDatabaseLoader_LoadDatabase_SSiSSSS
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_sqlite_TSQLiteDatabaseLoader database_sqlite_TSQLiteDatabaseLoader={
	&database_core_TDatabaseLoader,
	bbObjectFree,
	(BBDebugScope*)&database_sqlite_TSQLiteDatabaseLoader_scope,
	sizeof(struct database_sqlite_TSQLiteDatabaseLoader_obj),
	(void (*)(BBOBJECT))_database_sqlite_TSQLiteDatabaseLoader_New,
	bbObjectDtor,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	0
	,0
	,sizeof(void*)
	,_database_sqlite_TSQLiteDatabaseLoader_LoadDatabase_SSiSSSS
};

void _database_sqlite_TDBSQLite_New(struct database_sqlite_TDBSQLite_obj* o) {
	_database_core_TDBConnection_New((struct database_core_TDBConnection_obj*)o);
	o->clas = &database_sqlite_TDBSQLite;
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries = bbArrayNew1D(":TSQLiteResultSet", 2);
}
void _database_sqlite_TDBSQLite_Delete(struct database_sqlite_TDBSQLite_obj* o) {
	_database_core_TDBConnection_Delete((struct database_core_TDBConnection_obj*)o);
}
struct database_core_TDBConnection_obj* database_sqlite_TDBSQLite_Create_TTDBConnection_SSiSSSS(BBSTRING bbt_dbname,BBSTRING bbt_host,BBINT bbt_port,BBSTRING bbt_user,BBSTRING bbt_password,BBSTRING bbt_server,BBSTRING bbt_options){
	struct database_sqlite_TDBSQLite_obj* bbt_this=(struct database_sqlite_TDBSQLite_obj*)((struct database_sqlite_TDBSQLite_obj*)&bbNullObject);
	struct BBDebugScope_8 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Create",
		{
			{
				BBDEBUGDECL_LOCAL,
				"dbname",
				"$",
				.var_address=&bbt_dbname
			},
			{
				BBDEBUGDECL_LOCAL,
				"host",
				"$",
				.var_address=&bbt_host
			},
			{
				BBDEBUGDECL_LOCAL,
				"port",
				"i",
				.var_address=&bbt_port
			},
			{
				BBDEBUGDECL_LOCAL,
				"user",
				"$",
				.var_address=&bbt_user
			},
			{
				BBDEBUGDECL_LOCAL,
				"password",
				"$",
				.var_address=&bbt_password
			},
			{
				BBDEBUGDECL_LOCAL,
				"server",
				"$",
				.var_address=&bbt_server
			},
			{
				BBDEBUGDECL_LOCAL,
				"options",
				"$",
				.var_address=&bbt_options
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TDBSQLite",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 122, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_sqlite_TDBSQLite_obj*)(struct database_sqlite_TDBSQLite_obj*)bbObjectNew((BBClass *)&database_sqlite_TDBSQLite);
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 124, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_Init_SSiSSSS((struct database_core_TDBConnection_obj*)bbt_this,bbt_dbname,bbt_host,bbt_port,bbt_user,bbt_password,bbt_server,bbt_options);
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 126, 0};
	bbOnDebugEnterStm(&__stmt_2);
	if(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)bbt_this))->_database_core_tdbconnection__dbname != &bbEmptyString){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 127, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_open_SS((struct database_sqlite_TDBSQLite_obj*)bbt_this,bbt_user,bbt_password);
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 130, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbOnDebugLeaveScope();
	return (struct database_core_TDBConnection_obj*)((struct database_core_TDBConnection_obj*)bbObjectDowncast((BBOBJECT)bbt_this,(BBClass*)&database_core_TDBConnection));
}
void _database_sqlite_TDBSQLite_close(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"close",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 136, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_sqlite_TDBSQLite_obj*)o)->clas->m_clearQueries((struct database_sqlite_TDBSQLite_obj*)o);
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 138, 0};
	bbOnDebugEnterStm(&__stmt_1);
	if(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen !=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 140, 0};
		bbOnDebugEnterStm(&__stmt_0);
		if(sqlite3_close(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection_handle )!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 141, 0};
			bbOnDebugEnterStm(&__stmt_0);
			((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
			((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s0),(&bbEmptyString),2,0);
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 144, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection_handle =0;
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 145, 0};
		bbOnDebugEnterStm(&__stmt_2);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen =0;
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
BBINT _database_sqlite_TDBSQLite_commit(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct database_core_TDatabaseQuery_obj* bbt_query=(struct database_core_TDatabaseQuery_obj*)((struct database_core_TDatabaseQuery_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"commit",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"query",
				":TDatabaseQuery",
				.var_address=&bbt_query
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 153, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(!(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen !=0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 154, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 158, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_sqlite_TDBSQLite_obj*)o)->clas->m_resetQueries((struct database_sqlite_TDBSQLite_obj*)o);
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 160, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
	bbt_query=(struct database_core_TDatabaseQuery_obj*)((struct database_core_TDBConnection_obj*)o)->clas->m_executeQuery_S((struct database_core_TDBConnection_obj*)o,((BBString*)&_s1));
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 162, 0};
	bbOnDebugEnterStm(&__stmt_3);
	((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
	if(((struct database_core_TDBConnection_obj*)o)->clas->m_hasError((struct database_core_TDBConnection_obj*)o)!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 163, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s2),((struct database_core_TDatabaseError_obj*)bbNullObjectTest((BBObject*)((struct database_core_TDBConnection_obj*)o)->clas->m_error((struct database_core_TDBConnection_obj*)o)))->_database_core_tdatabaseerror_error ,1,0);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 165, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 168, 0};
	bbOnDebugEnterStm(&__stmt_4);
	((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_free((struct database_core_TDatabaseQuery_obj*)bbt_query);
	struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 170, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbOnDebugLeaveScope();
	return 1;
}
BBARRAY _database_sqlite_TDBSQLite_getTables(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	BBARRAY bbt_list=(&bbEmptyArray);
	struct brl_linkedlist_TList_obj* bbt_tables=(struct brl_linkedlist_TList_obj*)((struct brl_linkedlist_TList_obj*)&bbNullObject);
	struct database_core_TDatabaseQuery_obj* bbt_query=(struct database_core_TDatabaseQuery_obj*)((struct database_core_TDatabaseQuery_obj*)&bbNullObject);
	BBSTRING bbt_sql=(&bbEmptyString);
	struct BBDebugScope_5 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getTables",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"list",
				"[]$",
				.var_address=&bbt_list
			},
			{
				BBDEBUGDECL_LOCAL,
				"tables",
				":TList",
				.var_address=&bbt_tables
			},
			{
				BBDEBUGDECL_LOCAL,
				"query",
				":TDatabaseQuery",
				.var_address=&bbt_query
			},
			{
				BBDEBUGDECL_LOCAL,
				"sql",
				"$",
				.var_address=&bbt_sql
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 174, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_list=(&bbEmptyArray);
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 176, 0};
	bbOnDebugEnterStm(&__stmt_1);
	if(!(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen !=0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 177, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return bbt_list;
	}
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 180, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbt_tables=(struct brl_linkedlist_TList_obj*)(struct brl_linkedlist_TList_obj*)bbObjectNew((BBClass *)&brl_linkedlist_TList);
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 182, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbt_query=(struct database_core_TDatabaseQuery_obj*)database_core_TDatabaseQuery_Create_TTDatabaseQuery_TTDBConnection((struct database_core_TDBConnection_obj*)((struct database_core_TDBConnection_obj*)bbObjectDowncast((BBOBJECT)o,(BBClass*)&database_core_TDBConnection)));
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 184, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbt_sql=((BBString*)&_s63);
	struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 187, 0};
	bbOnDebugEnterStm(&__stmt_5);
	if(((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_execute_S((struct database_core_TDatabaseQuery_obj*)bbt_query,bbt_sql)!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 188, 0};
		bbOnDebugEnterStm(&__stmt_0);
		while(((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_nextRow((struct database_core_TDatabaseQuery_obj*)bbt_query)!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 189, 0};
			bbOnDebugEnterStm(&__stmt_0);
			struct database_core_dbtypes_TDBType_obj* bbt_;
			((struct brl_linkedlist_TList_obj*)bbNullObjectTest((BBObject*)bbt_tables))->clas->m_AddLast_TObject((struct brl_linkedlist_TList_obj*)bbt_tables,(BBOBJECT)((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_ = ((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_value_i((struct database_core_TDatabaseQuery_obj*)bbt_query,0))))->clas->m_getString((struct database_core_dbtypes_TDBType_obj*)bbt_));
			bbOnDebugLeaveScope();
		}
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_6 = {0x8a7687fb851c7c9e, 193, 0};
	bbOnDebugEnterStm(&__stmt_6);
	if(((struct brl_linkedlist_TList_obj*)bbNullObjectTest((BBObject*)bbt_tables))->clas->m_Count((struct brl_linkedlist_TList_obj*)bbt_tables)>0){
		BBINT bbt_i=0;
		struct BBDebugScope_1 __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_LOCAL,
					"i",
					"i",
					.var_address=&bbt_i
				},
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 194, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_list=bbArrayNew1D("$", ((struct brl_linkedlist_TList_obj*)bbNullObjectTest((BBObject*)bbt_tables))->clas->m_Count((struct brl_linkedlist_TList_obj*)bbt_tables));
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 195, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbt_i=0;
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 196, 0};
		bbOnDebugEnterStm(&__stmt_2);
		struct brl_linkedlist_TListEnum_obj* bbt_2=(struct brl_linkedlist_TListEnum_obj*)((struct brl_linkedlist_TList_obj*)bbNullObjectTest((BBObject*)bbt_tables))->clas->m_ObjectEnumerator((struct brl_linkedlist_TList_obj*)bbt_tables);
		while(((struct brl_linkedlist_TListEnum_obj*)bbNullObjectTest((BBObject*)bbt_2))->clas->m_HasNext((struct brl_linkedlist_TListEnum_obj*)bbt_2)!=0){
			BBSTRING bbt_s=(&bbEmptyString);
			struct BBDebugScope_1 __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_LOCAL,
						"s",
						"$",
						.var_address=&bbt_s
					},
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			BBOBJECT bbt_3=(BBOBJECT)((struct brl_linkedlist_TListEnum_obj*)bbNullObjectTest((BBObject*)bbt_2))->clas->m_NextObject((struct brl_linkedlist_TListEnum_obj*)bbt_2);
			if(bbObjectIsString((BBOBJECT)bbt_3)==0){
				bbOnDebugLeaveScope();
				continue;
			}
			bbt_s=((BBString *)bbObjectStringcast((BBOBJECT)bbt_3));
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 197, 0};
			bbOnDebugEnterStm(&__stmt_0);
			((BBSTRING*)BBARRAYDATAINDEX((bbt_list),(bbt_list)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)]=bbt_s;
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 198, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_i+=1;
			bbOnDebugLeaveScope();
		}
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_7 = {0x8a7687fb851c7c9e, 202, 0};
	bbOnDebugEnterStm(&__stmt_7);
	bbOnDebugLeaveScope();
	return bbt_list;
}
struct database_core_TDBTable_obj* _database_sqlite_TDBSQLite_getTableInfo_Si(struct database_sqlite_TDBSQLite_obj* o,BBSTRING bbt_tableName,BBINT bbt_withDDL){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct database_core_TDatabaseQuery_obj* bbt_query=(struct database_core_TDatabaseQuery_obj*)((struct database_core_TDatabaseQuery_obj*)&bbNullObject);
	struct database_core_TDBTable_obj* bbt_table=(struct database_core_TDBTable_obj*)((struct database_core_TDBTable_obj*)&bbNullObject);
	BBSTRING bbt_sql=(&bbEmptyString);
	struct BBDebugScope_6 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"getTableInfo",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"tableName",
				"$",
				.var_address=&bbt_tableName
			},
			{
				BBDEBUGDECL_LOCAL,
				"withDDL",
				"i",
				.var_address=&bbt_withDDL
			},
			{
				BBDEBUGDECL_LOCAL,
				"query",
				":TDatabaseQuery",
				.var_address=&bbt_query
			},
			{
				BBDEBUGDECL_LOCAL,
				"table",
				":TDBTable",
				.var_address=&bbt_table
			},
			{
				BBDEBUGDECL_LOCAL,
				"sql",
				"$",
				.var_address=&bbt_sql
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 206, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(!(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen !=0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 207, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return (struct database_core_TDBTable_obj*)&bbNullObject;
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 210, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_query=(struct database_core_TDatabaseQuery_obj*)database_core_TDatabaseQuery_Create_TTDatabaseQuery_TTDBConnection((struct database_core_TDBConnection_obj*)((struct database_core_TDBConnection_obj*)bbObjectDowncast((BBOBJECT)o,(BBClass*)&database_core_TDBConnection)));
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 212, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbt_table=(struct database_core_TDBTable_obj*)((struct database_core_TDBTable_obj*)&bbNullObject);
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 214, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbt_sql=bbStringConcat(bbStringConcat(((BBString*)&_s5),bbt_tableName),((BBString*)&_s6));
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 216, 0};
	bbOnDebugEnterStm(&__stmt_4);
	if(((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_execute_S((struct database_core_TDatabaseQuery_obj*)bbt_query,bbt_sql)!=0){
		struct brl_linkedlist_TList_obj* bbt_cols=(struct brl_linkedlist_TList_obj*)((struct brl_linkedlist_TList_obj*)&bbNullObject);
		BBINT bbt_i=0;
		struct BBDebugScope_2 __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_LOCAL,
					"cols",
					":TList",
					.var_address=&bbt_cols
				},
				{
					BBDEBUGDECL_LOCAL,
					"i",
					"i",
					.var_address=&bbt_i
				},
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 217, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_table=(struct database_core_TDBTable_obj*)(struct database_core_TDBTable_obj*)bbObjectNew((BBClass *)&database_core_TDBTable);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 218, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_core_TDBTable_obj*)bbNullObjectTest((BBObject*)bbt_table))->_database_core_tdbtable_name =bbt_tableName;
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 220, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbt_cols=(struct brl_linkedlist_TList_obj*)(struct brl_linkedlist_TList_obj*)bbObjectNew((BBClass *)&brl_linkedlist_TList);
		struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 222, 0};
		bbOnDebugEnterStm(&__stmt_3);
		struct database_core_TRowEnumerator_obj* bbt_=(struct database_core_TRowEnumerator_obj*)((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_ObjectEnumerator((struct database_core_TDatabaseQuery_obj*)bbt_query);
		while(((struct database_core_TRowEnumerator_obj*)bbNullObjectTest((BBObject*)bbt_))->clas->m_HasNext((struct database_core_TRowEnumerator_obj*)bbt_)!=0){
			struct database_core_TQueryRecord_obj* bbt_rec=(struct database_core_TQueryRecord_obj*)((struct database_core_TQueryRecord_obj*)&bbNullObject);
			BBSTRING bbt_name=(&bbEmptyString);
			BBINT bbt_dbType=0;
			BBINT bbt_nullable=0;
			struct database_core_dbtypes_TDBType_obj* bbt_defaultValue=(struct database_core_dbtypes_TDBType_obj*)((struct database_core_dbtypes_TDBType_obj*)&bbNullObject);
			struct BBDebugScope_5 __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_LOCAL,
						"rec",
						":TQueryRecord",
						.var_address=&bbt_rec
					},
					{
						BBDEBUGDECL_LOCAL,
						"name",
						"$",
						.var_address=&bbt_name
					},
					{
						BBDEBUGDECL_LOCAL,
						"dbType",
						"i",
						.var_address=&bbt_dbType
					},
					{
						BBDEBUGDECL_LOCAL,
						"nullable",
						"i",
						.var_address=&bbt_nullable
					},
					{
						BBDEBUGDECL_LOCAL,
						"defaultValue",
						":TDBType",
						.var_address=&bbt_defaultValue
					},
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			bbt_rec=(struct database_core_TQueryRecord_obj*)((struct database_core_TQueryRecord_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TRowEnumerator_obj*)bbNullObjectTest((BBObject*)bbt_))->clas->m_NextObject((struct database_core_TRowEnumerator_obj*)bbt_),(BBClass*)&database_core_TQueryRecord));
			if(((BBOBJECT)bbt_rec)==&bbNullObject){
				bbOnDebugLeaveScope();
				continue;
			}
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 223, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_name=((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)bbt_rec))->clas->m_getString_i((struct database_core_TQueryRecord_obj*)bbt_rec,1);
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 224, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_dbType=database_sqlite_TSQLiteResultSet_dbTypeFromNative_i_Sii(((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)bbt_rec))->clas->m_getString_i((struct database_core_TQueryRecord_obj*)bbt_rec,2),0,0);
			struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 225, 0};
			bbOnDebugEnterStm(&__stmt_2);
			bbt_nullable=((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)bbt_rec))->clas->m_getInt_i((struct database_core_TQueryRecord_obj*)bbt_rec,3);
			struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 226, 0};
			bbOnDebugEnterStm(&__stmt_3);
			bbt_defaultValue=(struct database_core_dbtypes_TDBType_obj*)((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)bbt_rec))->clas->m_value_i((struct database_core_TQueryRecord_obj*)bbt_rec,4);
			struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 228, 0};
			bbOnDebugEnterStm(&__stmt_4);
			((struct brl_linkedlist_TList_obj*)bbNullObjectTest((BBObject*)bbt_cols))->clas->m_AddLast_TObject((struct brl_linkedlist_TList_obj*)bbt_cols,(BBOBJECT)database_core_TDBColumn_Create_TTDBColumn_SiiTTDBType(bbt_name,bbt_dbType,bbt_nullable,(struct database_core_dbtypes_TDBType_obj*)bbt_defaultValue));
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 231, 0};
		bbOnDebugEnterStm(&__stmt_4);
		((struct database_core_TDBTable_obj*)bbNullObjectTest((BBObject*)bbt_table))->clas->m_SetCountColumns_i((struct database_core_TDBTable_obj*)bbt_table,((struct brl_linkedlist_TList_obj*)bbNullObjectTest((BBObject*)bbt_cols))->clas->m_Count((struct brl_linkedlist_TList_obj*)bbt_cols));
		struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 232, 0};
		bbOnDebugEnterStm(&__stmt_5);
		bbt_i=0;
		struct BBDebugStm __stmt_6 = {0x8a7687fb851c7c9e, 233, 0};
		bbOnDebugEnterStm(&__stmt_6);
		struct brl_linkedlist_TListEnum_obj* bbt_2=(struct brl_linkedlist_TListEnum_obj*)((struct brl_linkedlist_TList_obj*)bbNullObjectTest((BBObject*)bbt_cols))->clas->m_ObjectEnumerator((struct brl_linkedlist_TList_obj*)bbt_cols);
		while(((struct brl_linkedlist_TListEnum_obj*)bbNullObjectTest((BBObject*)bbt_2))->clas->m_HasNext((struct brl_linkedlist_TListEnum_obj*)bbt_2)!=0){
			struct database_core_TDBColumn_obj* bbt_col=(struct database_core_TDBColumn_obj*)((struct database_core_TDBColumn_obj*)&bbNullObject);
			struct BBDebugScope_1 __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_LOCAL,
						"col",
						":TDBColumn",
						.var_address=&bbt_col
					},
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			bbt_col=(struct database_core_TDBColumn_obj*)((struct database_core_TDBColumn_obj*)bbObjectDowncast((BBOBJECT)((struct brl_linkedlist_TListEnum_obj*)bbNullObjectTest((BBObject*)bbt_2))->clas->m_NextObject((struct brl_linkedlist_TListEnum_obj*)bbt_2),(BBClass*)&database_core_TDBColumn));
			if(((BBOBJECT)bbt_col)==&bbNullObject){
				bbOnDebugLeaveScope();
				continue;
			}
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 234, 0};
			bbOnDebugEnterStm(&__stmt_0);
			((struct database_core_TDBTable_obj*)bbNullObjectTest((BBObject*)bbt_table))->clas->m_SetColumn_iTTDBColumn((struct database_core_TDBTable_obj*)bbt_table,bbt_i,(struct database_core_TDBColumn_obj*)bbt_col);
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 235, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_i+=1;
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_7 = {0x8a7687fb851c7c9e, 238, 0};
		bbOnDebugEnterStm(&__stmt_7);
		((struct brl_linkedlist_TList_obj*)bbNullObjectTest((BBObject*)bbt_cols))->clas->m_Clear((struct brl_linkedlist_TList_obj*)bbt_cols);
		struct BBDebugStm __stmt_8 = {0x8a7687fb851c7c9e, 240, 0};
		bbOnDebugEnterStm(&__stmt_8);
		if(bbt_withDDL!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 241, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_sql=bbStringConcat(bbStringConcat(((BBString*)&_s7),bbt_tableName),((BBString*)&_s8));
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 242, 0};
			bbOnDebugEnterStm(&__stmt_1);
			if(((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_execute_S((struct database_core_TDatabaseQuery_obj*)bbt_query,bbt_sql)!=0){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 244, 0};
				bbOnDebugEnterStm(&__stmt_0);
				struct database_core_TRowEnumerator_obj* bbt_3=(struct database_core_TRowEnumerator_obj*)((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_ObjectEnumerator((struct database_core_TDatabaseQuery_obj*)bbt_query);
				while(((struct database_core_TRowEnumerator_obj*)bbNullObjectTest((BBObject*)bbt_3))->clas->m_HasNext((struct database_core_TRowEnumerator_obj*)bbt_3)!=0){
					struct database_core_TQueryRecord_obj* bbt_rec2=(struct database_core_TQueryRecord_obj*)((struct database_core_TQueryRecord_obj*)&bbNullObject);
					struct BBDebugScope_1 __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_LOCAL,
								"rec",
								":TQueryRecord",
								.var_address=&bbt_rec2
							},
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					bbt_rec2=(struct database_core_TQueryRecord_obj*)((struct database_core_TQueryRecord_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TRowEnumerator_obj*)bbNullObjectTest((BBObject*)bbt_3))->clas->m_NextObject((struct database_core_TRowEnumerator_obj*)bbt_3),(BBClass*)&database_core_TQueryRecord));
					if(((BBOBJECT)bbt_rec2)==&bbNullObject){
						bbOnDebugLeaveScope();
						continue;
					}
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 245, 0};
					bbOnDebugEnterStm(&__stmt_0);
					((struct database_core_TDBTable_obj*)bbNullObjectTest((BBObject*)bbt_table))->_database_core_tdbtable_ddl =bbStringConcat(((struct database_core_TDBTable_obj*)bbNullObjectTest((BBObject*)bbt_table))->_database_core_tdbtable_ddl ,(bbStringConcat(((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)bbt_rec2))->clas->m_getString_i((struct database_core_TQueryRecord_obj*)bbt_rec2,0),((BBString*)&_s9))));
					bbOnDebugLeaveScope();
				}
				bbOnDebugLeaveScope();
			}
			bbOnDebugLeaveScope();
		}
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 255, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbOnDebugLeaveScope();
	return (struct database_core_TDBTable_obj*)bbt_table;
}
BBINT _database_sqlite_TDBSQLite_open_SS(struct database_sqlite_TDBSQLite_obj* o,BBSTRING bbt_user,BBSTRING bbt_pass){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	BBBYTE* bbt_s=0;
	BBINT bbt_flags=0;
	BBINT bbt_ret=0;
	struct BBDebugScope_6 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"open",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"user",
				"$",
				.var_address=&bbt_user
			},
			{
				BBDEBUGDECL_LOCAL,
				"pass",
				"$",
				.var_address=&bbt_pass
			},
			{
				BBDEBUGDECL_LOCAL,
				"s",
				"*b",
				.var_address=&bbt_s
			},
			{
				BBDEBUGDECL_LOCAL,
				"flags",
				"i",
				.var_address=&bbt_flags
			},
			{
				BBDEBUGDECL_LOCAL,
				"ret",
				"i",
				.var_address=&bbt_ret
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 261, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen !=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 262, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_sqlite_TDBSQLite_obj*)o)->clas->m_close((struct database_sqlite_TDBSQLite_obj*)o);
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 265, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_s=bbStringToUTF8String((BBSTRING)((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__dbname );
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 266, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbt_flags=bbStringToInt((BBSTRING)((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__options );
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 267, 0};
	bbOnDebugEnterStm(&__stmt_3);
	if(!(bbt_flags!=0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 268, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_flags=6;
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 270, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbt_ret=sqlite3_open_v2(bbt_s,(&((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection_handle ),bbt_flags,0);
	struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 271, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbMemFree((void*)bbt_s);
	struct BBDebugStm __stmt_6 = {0x8a7687fb851c7c9e, 273, 0};
	bbOnDebugEnterStm(&__stmt_6);
	if(bbt_ret==0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 274, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen =1;
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 277, 0};
		bbOnDebugEnterStm(&__stmt_1);
		if(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__user != &bbEmptyString){
			BBBYTE* bbt_u=0;
			BBBYTE* bbt_p=0;
			struct BBDebugScope_2 __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_LOCAL,
						"u",
						"*b",
						.var_address=&bbt_u
					},
					{
						BBDEBUGDECL_LOCAL,
						"p",
						"*b",
						.var_address=&bbt_p
					},
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 278, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_u=bbStringToUTF8String((BBSTRING)((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__user );
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 279, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_p=bbStringToUTF8String((BBSTRING)((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__password );
			struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 280, 0};
			bbOnDebugEnterStm(&__stmt_2);
			bbt_ret=sqlite3_user_authenticate(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection_handle ,bbt_u,bbt_p,strlen(bbt_p));
			struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 281, 0};
			bbOnDebugEnterStm(&__stmt_3);
			bbMemFree((void*)bbt_p);
			struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 282, 0};
			bbOnDebugEnterStm(&__stmt_4);
			bbMemFree((void*)bbt_u);
			struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 284, 0};
			bbOnDebugEnterStm(&__stmt_5);
			if(bbt_ret!=0){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 285, 0};
				bbOnDebugEnterStm(&__stmt_0);
				((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
				((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s10),(&bbEmptyString),2,bbt_ret);
				bbOnDebugLeaveScope();
			}
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 289, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 1;
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 291, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s11),(&bbEmptyString),2,bbt_ret);
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_7 = {0x8a7687fb851c7c9e, 294, 0};
	bbOnDebugEnterStm(&__stmt_7);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT _database_sqlite_TDBSQLite_rollback(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct database_core_TDatabaseQuery_obj* bbt_query=(struct database_core_TDatabaseQuery_obj*)((struct database_core_TDatabaseQuery_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"rollback",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"query",
				":TDatabaseQuery",
				.var_address=&bbt_query
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 299, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(!(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen !=0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 300, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 304, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_sqlite_TDBSQLite_obj*)o)->clas->m_resetQueries((struct database_sqlite_TDBSQLite_obj*)o);
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 306, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
	bbt_query=(struct database_core_TDatabaseQuery_obj*)((struct database_core_TDBConnection_obj*)o)->clas->m_executeQuery_S((struct database_core_TDBConnection_obj*)o,((BBString*)&_s12));
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 308, 0};
	bbOnDebugEnterStm(&__stmt_3);
	((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
	if(((struct database_core_TDBConnection_obj*)o)->clas->m_hasError((struct database_core_TDBConnection_obj*)o)!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 310, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s13),((struct database_core_TDatabaseError_obj*)bbNullObjectTest((BBObject*)((struct database_core_TDBConnection_obj*)o)->clas->m_error((struct database_core_TDBConnection_obj*)o)))->_database_core_tdatabaseerror_error ,1,0);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 312, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 315, 0};
	bbOnDebugEnterStm(&__stmt_4);
	((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_free((struct database_core_TDatabaseQuery_obj*)bbt_query);
	struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 317, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbOnDebugLeaveScope();
	return 1;
}
BBINT _database_sqlite_TDBSQLite_startTransaction(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct database_core_TDatabaseQuery_obj* bbt_query=(struct database_core_TDatabaseQuery_obj*)((struct database_core_TDatabaseQuery_obj*)&bbNullObject);
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"startTransaction",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"query",
				":TDatabaseQuery",
				.var_address=&bbt_query
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 322, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(!(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection__isopen !=0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 323, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 326, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
	bbt_query=(struct database_core_TDatabaseQuery_obj*)((struct database_core_TDBConnection_obj*)o)->clas->m_executeQuery_S((struct database_core_TDBConnection_obj*)o,((BBString*)&_s14));
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 328, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
	if(((struct database_core_TDBConnection_obj*)o)->clas->m_hasError((struct database_core_TDBConnection_obj*)o)!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 330, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s15),((struct database_core_TDatabaseError_obj*)bbNullObjectTest((BBObject*)((struct database_core_TDBConnection_obj*)o)->clas->m_error((struct database_core_TDBConnection_obj*)o)))->_database_core_tdatabaseerror_error ,1,0);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 332, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 335, 0};
	bbOnDebugEnterStm(&__stmt_3);
	((struct database_core_TDatabaseQuery_obj*)bbNullObjectTest((BBObject*)bbt_query))->clas->m_free((struct database_core_TDatabaseQuery_obj*)bbt_query);
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 337, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbOnDebugLeaveScope();
	return 1;
}
BBBYTE* _database_sqlite_TDBSQLite_databaseHandle(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"databaseHandle",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 342, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return ((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection_handle ;
}
struct database_core_TQueryResultSet_obj* _database_sqlite_TDBSQLite_createResultSet(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"createResultSet",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 346, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return (struct database_core_TQueryResultSet_obj*)database_sqlite_TSQLiteResultSet_Create_TTQueryResultSet_TTDBConnectionS((struct database_core_TDBConnection_obj*)((struct database_core_TDBConnection_obj*)bbObjectDowncast((BBOBJECT)o,(BBClass*)&database_core_TDBConnection)),(&bbEmptyString));
}
BBSTRING _database_sqlite_TDBSQLite_nativeErrorMessage_i(struct database_sqlite_TDBSQLite_obj* o,BBINT bbt_err){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"nativeErrorMessage",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"err",
				"i",
				.var_address=&bbt_err
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 350, 0};
	bbOnDebugEnterStm(&__stmt_0);
	BBINT bbt_=bbt_err;
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 351, 0};
	bbOnDebugEnterStm(&__stmt_1);
	if(bbt_==0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 351, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return ((BBString*)&_s16);
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 352, 0};
		bbOnDebugEnterStm(&__stmt_0);
		if(bbt_==1){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 352, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			return ((BBString*)&_s17);
		}else{
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 353, 0};
			bbOnDebugEnterStm(&__stmt_0);
			if(bbt_==2){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 353, 0};
				bbOnDebugEnterStm(&__stmt_0);
				bbOnDebugLeaveScope();
				bbOnDebugLeaveScope();
				bbOnDebugLeaveScope();
				bbOnDebugLeaveScope();
				return ((BBString*)&_s18);
			}else{
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 354, 0};
				bbOnDebugEnterStm(&__stmt_0);
				if(bbt_==3){
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 354, 0};
					bbOnDebugEnterStm(&__stmt_0);
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					return ((BBString*)&_s19);
				}else{
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 355, 0};
					bbOnDebugEnterStm(&__stmt_0);
					if(bbt_==4){
						struct BBDebugScope __scope = {
							BBDEBUGSCOPE_LOCALBLOCK,
							0,
							{
								{
									BBDEBUGDECL_END
								}
							}
						};
						bbOnDebugEnterScope((BBDebugScope *)&__scope);
						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 355, 0};
						bbOnDebugEnterStm(&__stmt_0);
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						return ((BBString*)&_s20);
					}else{
						struct BBDebugScope __scope = {
							BBDEBUGSCOPE_LOCALBLOCK,
							0,
							{
								{
									BBDEBUGDECL_END
								}
							}
						};
						bbOnDebugEnterScope((BBDebugScope *)&__scope);
						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 356, 0};
						bbOnDebugEnterStm(&__stmt_0);
						if(bbt_==5){
							struct BBDebugScope __scope = {
								BBDEBUGSCOPE_LOCALBLOCK,
								0,
								{
									{
										BBDEBUGDECL_END
									}
								}
							};
							bbOnDebugEnterScope((BBDebugScope *)&__scope);
							struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 356, 0};
							bbOnDebugEnterStm(&__stmt_0);
							bbOnDebugLeaveScope();
							bbOnDebugLeaveScope();
							bbOnDebugLeaveScope();
							bbOnDebugLeaveScope();
							bbOnDebugLeaveScope();
							bbOnDebugLeaveScope();
							bbOnDebugLeaveScope();
							return ((BBString*)&_s21);
						}else{
							struct BBDebugScope __scope = {
								BBDEBUGSCOPE_LOCALBLOCK,
								0,
								{
									{
										BBDEBUGDECL_END
									}
								}
							};
							bbOnDebugEnterScope((BBDebugScope *)&__scope);
							struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 357, 0};
							bbOnDebugEnterStm(&__stmt_0);
							if(bbt_==6){
								struct BBDebugScope __scope = {
									BBDEBUGSCOPE_LOCALBLOCK,
									0,
									{
										{
											BBDEBUGDECL_END
										}
									}
								};
								bbOnDebugEnterScope((BBDebugScope *)&__scope);
								struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 357, 0};
								bbOnDebugEnterStm(&__stmt_0);
								bbOnDebugLeaveScope();
								bbOnDebugLeaveScope();
								bbOnDebugLeaveScope();
								bbOnDebugLeaveScope();
								bbOnDebugLeaveScope();
								bbOnDebugLeaveScope();
								bbOnDebugLeaveScope();
								bbOnDebugLeaveScope();
								return ((BBString*)&_s22);
							}else{
								struct BBDebugScope __scope = {
									BBDEBUGSCOPE_LOCALBLOCK,
									0,
									{
										{
											BBDEBUGDECL_END
										}
									}
								};
								bbOnDebugEnterScope((BBDebugScope *)&__scope);
								struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 358, 0};
								bbOnDebugEnterStm(&__stmt_0);
								if(bbt_==7){
									struct BBDebugScope __scope = {
										BBDEBUGSCOPE_LOCALBLOCK,
										0,
										{
											{
												BBDEBUGDECL_END
											}
										}
									};
									bbOnDebugEnterScope((BBDebugScope *)&__scope);
									struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 358, 0};
									bbOnDebugEnterStm(&__stmt_0);
									bbOnDebugLeaveScope();
									bbOnDebugLeaveScope();
									bbOnDebugLeaveScope();
									bbOnDebugLeaveScope();
									bbOnDebugLeaveScope();
									bbOnDebugLeaveScope();
									bbOnDebugLeaveScope();
									bbOnDebugLeaveScope();
									bbOnDebugLeaveScope();
									return ((BBString*)&_s23);
								}else{
									struct BBDebugScope __scope = {
										BBDEBUGSCOPE_LOCALBLOCK,
										0,
										{
											{
												BBDEBUGDECL_END
											}
										}
									};
									bbOnDebugEnterScope((BBDebugScope *)&__scope);
									struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 359, 0};
									bbOnDebugEnterStm(&__stmt_0);
									if(bbt_==8){
										struct BBDebugScope __scope = {
											BBDEBUGSCOPE_LOCALBLOCK,
											0,
											{
												{
													BBDEBUGDECL_END
												}
											}
										};
										bbOnDebugEnterScope((BBDebugScope *)&__scope);
										struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 359, 0};
										bbOnDebugEnterStm(&__stmt_0);
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										bbOnDebugLeaveScope();
										return ((BBString*)&_s24);
									}else{
										struct BBDebugScope __scope = {
											BBDEBUGSCOPE_LOCALBLOCK,
											0,
											{
												{
													BBDEBUGDECL_END
												}
											}
										};
										bbOnDebugEnterScope((BBDebugScope *)&__scope);
										struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 360, 0};
										bbOnDebugEnterStm(&__stmt_0);
										if(bbt_==9){
											struct BBDebugScope __scope = {
												BBDEBUGSCOPE_LOCALBLOCK,
												0,
												{
													{
														BBDEBUGDECL_END
													}
												}
											};
											bbOnDebugEnterScope((BBDebugScope *)&__scope);
											struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 360, 0};
											bbOnDebugEnterStm(&__stmt_0);
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											bbOnDebugLeaveScope();
											return ((BBString*)&_s25);
										}else{
											struct BBDebugScope __scope = {
												BBDEBUGSCOPE_LOCALBLOCK,
												0,
												{
													{
														BBDEBUGDECL_END
													}
												}
											};
											bbOnDebugEnterScope((BBDebugScope *)&__scope);
											struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 361, 0};
											bbOnDebugEnterStm(&__stmt_0);
											if(bbt_==10){
												struct BBDebugScope __scope = {
													BBDEBUGSCOPE_LOCALBLOCK,
													0,
													{
														{
															BBDEBUGDECL_END
														}
													}
												};
												bbOnDebugEnterScope((BBDebugScope *)&__scope);
												struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 361, 0};
												bbOnDebugEnterStm(&__stmt_0);
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												bbOnDebugLeaveScope();
												return ((BBString*)&_s26);
											}else{
												struct BBDebugScope __scope = {
													BBDEBUGSCOPE_LOCALBLOCK,
													0,
													{
														{
															BBDEBUGDECL_END
														}
													}
												};
												bbOnDebugEnterScope((BBDebugScope *)&__scope);
												struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 362, 0};
												bbOnDebugEnterStm(&__stmt_0);
												if(bbt_==11){
													struct BBDebugScope __scope = {
														BBDEBUGSCOPE_LOCALBLOCK,
														0,
														{
															{
																BBDEBUGDECL_END
															}
														}
													};
													bbOnDebugEnterScope((BBDebugScope *)&__scope);
													struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 362, 0};
													bbOnDebugEnterStm(&__stmt_0);
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													bbOnDebugLeaveScope();
													return ((BBString*)&_s27);
												}else{
													struct BBDebugScope __scope = {
														BBDEBUGSCOPE_LOCALBLOCK,
														0,
														{
															{
																BBDEBUGDECL_END
															}
														}
													};
													bbOnDebugEnterScope((BBDebugScope *)&__scope);
													struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 363, 0};
													bbOnDebugEnterStm(&__stmt_0);
													if(bbt_==12){
														struct BBDebugScope __scope = {
															BBDEBUGSCOPE_LOCALBLOCK,
															0,
															{
																{
																	BBDEBUGDECL_END
																}
															}
														};
														bbOnDebugEnterScope((BBDebugScope *)&__scope);
														struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 363, 0};
														bbOnDebugEnterStm(&__stmt_0);
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														bbOnDebugLeaveScope();
														return ((BBString*)&_s28);
													}else{
														struct BBDebugScope __scope = {
															BBDEBUGSCOPE_LOCALBLOCK,
															0,
															{
																{
																	BBDEBUGDECL_END
																}
															}
														};
														bbOnDebugEnterScope((BBDebugScope *)&__scope);
														struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 364, 0};
														bbOnDebugEnterStm(&__stmt_0);
														if(bbt_==13){
															struct BBDebugScope __scope = {
																BBDEBUGSCOPE_LOCALBLOCK,
																0,
																{
																	{
																		BBDEBUGDECL_END
																	}
																}
															};
															bbOnDebugEnterScope((BBDebugScope *)&__scope);
															struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 364, 0};
															bbOnDebugEnterStm(&__stmt_0);
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															bbOnDebugLeaveScope();
															return ((BBString*)&_s29);
														}else{
															struct BBDebugScope __scope = {
																BBDEBUGSCOPE_LOCALBLOCK,
																0,
																{
																	{
																		BBDEBUGDECL_END
																	}
																}
															};
															bbOnDebugEnterScope((BBDebugScope *)&__scope);
															struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 365, 0};
															bbOnDebugEnterStm(&__stmt_0);
															if(bbt_==14){
																struct BBDebugScope __scope = {
																	BBDEBUGSCOPE_LOCALBLOCK,
																	0,
																	{
																		{
																			BBDEBUGDECL_END
																		}
																	}
																};
																bbOnDebugEnterScope((BBDebugScope *)&__scope);
																struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 365, 0};
																bbOnDebugEnterStm(&__stmt_0);
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																bbOnDebugLeaveScope();
																return ((BBString*)&_s30);
															}else{
																struct BBDebugScope __scope = {
																	BBDEBUGSCOPE_LOCALBLOCK,
																	0,
																	{
																		{
																			BBDEBUGDECL_END
																		}
																	}
																};
																bbOnDebugEnterScope((BBDebugScope *)&__scope);
																struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 366, 0};
																bbOnDebugEnterStm(&__stmt_0);
																if(bbt_==15){
																	struct BBDebugScope __scope = {
																		BBDEBUGSCOPE_LOCALBLOCK,
																		0,
																		{
																			{
																				BBDEBUGDECL_END
																			}
																		}
																	};
																	bbOnDebugEnterScope((BBDebugScope *)&__scope);
																	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 366, 0};
																	bbOnDebugEnterStm(&__stmt_0);
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	bbOnDebugLeaveScope();
																	return ((BBString*)&_s31);
																}else{
																	struct BBDebugScope __scope = {
																		BBDEBUGSCOPE_LOCALBLOCK,
																		0,
																		{
																			{
																				BBDEBUGDECL_END
																			}
																		}
																	};
																	bbOnDebugEnterScope((BBDebugScope *)&__scope);
																	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 367, 0};
																	bbOnDebugEnterStm(&__stmt_0);
																	if(bbt_==16){
																		struct BBDebugScope __scope = {
																			BBDEBUGSCOPE_LOCALBLOCK,
																			0,
																			{
																				{
																					BBDEBUGDECL_END
																				}
																			}
																		};
																		bbOnDebugEnterScope((BBDebugScope *)&__scope);
																		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 367, 0};
																		bbOnDebugEnterStm(&__stmt_0);
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		bbOnDebugLeaveScope();
																		return ((BBString*)&_s32);
																	}else{
																		struct BBDebugScope __scope = {
																			BBDEBUGSCOPE_LOCALBLOCK,
																			0,
																			{
																				{
																					BBDEBUGDECL_END
																				}
																			}
																		};
																		bbOnDebugEnterScope((BBDebugScope *)&__scope);
																		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 368, 0};
																		bbOnDebugEnterStm(&__stmt_0);
																		if(bbt_==17){
																			struct BBDebugScope __scope = {
																				BBDEBUGSCOPE_LOCALBLOCK,
																				0,
																				{
																					{
																						BBDEBUGDECL_END
																					}
																				}
																			};
																			bbOnDebugEnterScope((BBDebugScope *)&__scope);
																			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 368, 0};
																			bbOnDebugEnterStm(&__stmt_0);
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			bbOnDebugLeaveScope();
																			return ((BBString*)&_s33);
																		}else{
																			struct BBDebugScope __scope = {
																				BBDEBUGSCOPE_LOCALBLOCK,
																				0,
																				{
																					{
																						BBDEBUGDECL_END
																					}
																				}
																			};
																			bbOnDebugEnterScope((BBDebugScope *)&__scope);
																			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 369, 0};
																			bbOnDebugEnterStm(&__stmt_0);
																			if(bbt_==18){
																				struct BBDebugScope __scope = {
																					BBDEBUGSCOPE_LOCALBLOCK,
																					0,
																					{
																						{
																							BBDEBUGDECL_END
																						}
																					}
																				};
																				bbOnDebugEnterScope((BBDebugScope *)&__scope);
																				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 369, 0};
																				bbOnDebugEnterStm(&__stmt_0);
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				bbOnDebugLeaveScope();
																				return ((BBString*)&_s34);
																			}else{
																				struct BBDebugScope __scope = {
																					BBDEBUGSCOPE_LOCALBLOCK,
																					0,
																					{
																						{
																							BBDEBUGDECL_END
																						}
																					}
																				};
																				bbOnDebugEnterScope((BBDebugScope *)&__scope);
																				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 370, 0};
																				bbOnDebugEnterStm(&__stmt_0);
																				if(bbt_==19){
																					struct BBDebugScope __scope = {
																						BBDEBUGSCOPE_LOCALBLOCK,
																						0,
																						{
																							{
																								BBDEBUGDECL_END
																							}
																						}
																					};
																					bbOnDebugEnterScope((BBDebugScope *)&__scope);
																					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 370, 0};
																					bbOnDebugEnterStm(&__stmt_0);
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					bbOnDebugLeaveScope();
																					return ((BBString*)&_s35);
																				}else{
																					struct BBDebugScope __scope = {
																						BBDEBUGSCOPE_LOCALBLOCK,
																						0,
																						{
																							{
																								BBDEBUGDECL_END
																							}
																						}
																					};
																					bbOnDebugEnterScope((BBDebugScope *)&__scope);
																					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 371, 0};
																					bbOnDebugEnterStm(&__stmt_0);
																					if(bbt_==20){
																						struct BBDebugScope __scope = {
																							BBDEBUGSCOPE_LOCALBLOCK,
																							0,
																							{
																								{
																									BBDEBUGDECL_END
																								}
																							}
																						};
																						bbOnDebugEnterScope((BBDebugScope *)&__scope);
																						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 371, 0};
																						bbOnDebugEnterStm(&__stmt_0);
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						bbOnDebugLeaveScope();
																						return ((BBString*)&_s36);
																					}else{
																						struct BBDebugScope __scope = {
																							BBDEBUGSCOPE_LOCALBLOCK,
																							0,
																							{
																								{
																									BBDEBUGDECL_END
																								}
																							}
																						};
																						bbOnDebugEnterScope((BBDebugScope *)&__scope);
																						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 372, 0};
																						bbOnDebugEnterStm(&__stmt_0);
																						if(bbt_==21){
																							struct BBDebugScope __scope = {
																								BBDEBUGSCOPE_LOCALBLOCK,
																								0,
																								{
																									{
																										BBDEBUGDECL_END
																									}
																								}
																							};
																							bbOnDebugEnterScope((BBDebugScope *)&__scope);
																							struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 372, 0};
																							bbOnDebugEnterStm(&__stmt_0);
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							bbOnDebugLeaveScope();
																							return ((BBString*)&_s37);
																						}else{
																							struct BBDebugScope __scope = {
																								BBDEBUGSCOPE_LOCALBLOCK,
																								0,
																								{
																									{
																										BBDEBUGDECL_END
																									}
																								}
																							};
																							bbOnDebugEnterScope((BBDebugScope *)&__scope);
																							struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 373, 0};
																							bbOnDebugEnterStm(&__stmt_0);
																							if(bbt_==22){
																								struct BBDebugScope __scope = {
																									BBDEBUGSCOPE_LOCALBLOCK,
																									0,
																									{
																										{
																											BBDEBUGDECL_END
																										}
																									}
																								};
																								bbOnDebugEnterScope((BBDebugScope *)&__scope);
																								struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 373, 0};
																								bbOnDebugEnterStm(&__stmt_0);
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								bbOnDebugLeaveScope();
																								return ((BBString*)&_s38);
																							}else{
																								struct BBDebugScope __scope = {
																									BBDEBUGSCOPE_LOCALBLOCK,
																									0,
																									{
																										{
																											BBDEBUGDECL_END
																										}
																									}
																								};
																								bbOnDebugEnterScope((BBDebugScope *)&__scope);
																								struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 374, 0};
																								bbOnDebugEnterStm(&__stmt_0);
																								if(bbt_==23){
																									struct BBDebugScope __scope = {
																										BBDEBUGSCOPE_LOCALBLOCK,
																										0,
																										{
																											{
																												BBDEBUGDECL_END
																											}
																										}
																									};
																									bbOnDebugEnterScope((BBDebugScope *)&__scope);
																									struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 374, 0};
																									bbOnDebugEnterStm(&__stmt_0);
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									bbOnDebugLeaveScope();
																									return ((BBString*)&_s39);
																								}else{
																									struct BBDebugScope __scope = {
																										BBDEBUGSCOPE_LOCALBLOCK,
																										0,
																										{
																											{
																												BBDEBUGDECL_END
																											}
																										}
																									};
																									bbOnDebugEnterScope((BBDebugScope *)&__scope);
																									struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 375, 0};
																									bbOnDebugEnterStm(&__stmt_0);
																									if(bbt_==25){
																										struct BBDebugScope __scope = {
																											BBDEBUGSCOPE_LOCALBLOCK,
																											0,
																											{
																												{
																													BBDEBUGDECL_END
																												}
																											}
																										};
																										bbOnDebugEnterScope((BBDebugScope *)&__scope);
																										struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 375, 0};
																										bbOnDebugEnterStm(&__stmt_0);
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										bbOnDebugLeaveScope();
																										return ((BBString*)&_s40);
																									}else{
																										struct BBDebugScope __scope = {
																											BBDEBUGSCOPE_LOCALBLOCK,
																											0,
																											{
																												{
																													BBDEBUGDECL_END
																												}
																											}
																										};
																										bbOnDebugEnterScope((BBDebugScope *)&__scope);
																										struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 376, 0};
																										bbOnDebugEnterStm(&__stmt_0);
																										if(bbt_==26){
																											struct BBDebugScope __scope = {
																												BBDEBUGSCOPE_LOCALBLOCK,
																												0,
																												{
																													{
																														BBDEBUGDECL_END
																													}
																												}
																											};
																											bbOnDebugEnterScope((BBDebugScope *)&__scope);
																											struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 376, 0};
																											bbOnDebugEnterStm(&__stmt_0);
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											bbOnDebugLeaveScope();
																											return ((BBString*)&_s41);
																										}else{
																											struct BBDebugScope __scope = {
																												BBDEBUGSCOPE_LOCALBLOCK,
																												0,
																												{
																													{
																														BBDEBUGDECL_END
																													}
																												}
																											};
																											bbOnDebugEnterScope((BBDebugScope *)&__scope);
																											struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 377, 0};
																											bbOnDebugEnterStm(&__stmt_0);
																											if(bbt_==27){
																												struct BBDebugScope __scope = {
																													BBDEBUGSCOPE_LOCALBLOCK,
																													0,
																													{
																														{
																															BBDEBUGDECL_END
																														}
																													}
																												};
																												bbOnDebugEnterScope((BBDebugScope *)&__scope);
																												struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 377, 0};
																												bbOnDebugEnterStm(&__stmt_0);
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												bbOnDebugLeaveScope();
																												return ((BBString*)&_s42);
																											}else{
																												struct BBDebugScope __scope = {
																													BBDEBUGSCOPE_LOCALBLOCK,
																													0,
																													{
																														{
																															BBDEBUGDECL_END
																														}
																													}
																												};
																												bbOnDebugEnterScope((BBDebugScope *)&__scope);
																												struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 378, 0};
																												bbOnDebugEnterStm(&__stmt_0);
																												if(bbt_==28){
																													struct BBDebugScope __scope = {
																														BBDEBUGSCOPE_LOCALBLOCK,
																														0,
																														{
																															{
																																BBDEBUGDECL_END
																															}
																														}
																													};
																													bbOnDebugEnterScope((BBDebugScope *)&__scope);
																													struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 378, 0};
																													bbOnDebugEnterStm(&__stmt_0);
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													bbOnDebugLeaveScope();
																													return ((BBString*)&_s43);
																												}else{
																													struct BBDebugScope __scope = {
																														BBDEBUGSCOPE_LOCALBLOCK,
																														0,
																														{
																															{
																																BBDEBUGDECL_END
																															}
																														}
																													};
																													bbOnDebugEnterScope((BBDebugScope *)&__scope);
																													struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 379, 0};
																													bbOnDebugEnterStm(&__stmt_0);
																													if(bbt_==100){
																														struct BBDebugScope __scope = {
																															BBDEBUGSCOPE_LOCALBLOCK,
																															0,
																															{
																																{
																																	BBDEBUGDECL_END
																																}
																															}
																														};
																														bbOnDebugEnterScope((BBDebugScope *)&__scope);
																														struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 379, 0};
																														bbOnDebugEnterStm(&__stmt_0);
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														bbOnDebugLeaveScope();
																														return ((BBString*)&_s44);
																													}else{
																														struct BBDebugScope __scope = {
																															BBDEBUGSCOPE_LOCALBLOCK,
																															0,
																															{
																																{
																																	BBDEBUGDECL_END
																																}
																															}
																														};
																														bbOnDebugEnterScope((BBDebugScope *)&__scope);
																														struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 380, 0};
																														bbOnDebugEnterStm(&__stmt_0);
																														if(bbt_==101){
																															struct BBDebugScope __scope = {
																																BBDEBUGSCOPE_LOCALBLOCK,
																																0,
																																{
																																	{
																																		BBDEBUGDECL_END
																																	}
																																}
																															};
																															bbOnDebugEnterScope((BBDebugScope *)&__scope);
																															struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 380, 0};
																															bbOnDebugEnterStm(&__stmt_0);
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															return ((BBString*)&_s45);
																														}else{
																															struct BBDebugScope __scope = {
																																BBDEBUGSCOPE_LOCALBLOCK,
																																0,
																																{
																																	{
																																		BBDEBUGDECL_END
																																	}
																																}
																															};
																															bbOnDebugEnterScope((BBDebugScope *)&__scope);
																															struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 381, 0};
																															bbOnDebugEnterStm(&__stmt_0);
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															bbOnDebugLeaveScope();
																															return bbStringConcat(((BBString*)&_s46),bbStringFromInt(bbt_err));
																														}
																													}
																												}
																											}
																										}
																									}
																								}
																							}
																						}
																					}
																				}
																			}
																		}
																	}
																}
															}
														}
													}
												}
											}
										}
									}
								}
							}
						}
					}
				}
			}
		}
	}
}
BBINT _database_sqlite_TDBSQLite_hasPrepareSupport(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"hasPrepareSupport",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 386, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 1;
}
BBINT _database_sqlite_TDBSQLite_hasTransactionSupport(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"hasTransactionSupport",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 390, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbOnDebugLeaveScope();
	return 1;
}
void _database_sqlite_TDBSQLite_clearQueries(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"clearQueries",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 394, 0};
	bbOnDebugEnterStm(&__stmt_0);
	{
		BBINT bbt_i=0;
		BBINT bbt_=(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ->scales[0]);
		for(;(bbt_i<bbt_);bbt_i=(bbt_i+1)){
			struct database_sqlite_TSQLiteResultSet_obj* bbt_q=(struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj*)&bbNullObject);
			struct BBDebugScope_2 __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_LOCAL,
						"i",
						"i",
						.var_address=&bbt_i
					},
					{
						BBDEBUGDECL_LOCAL,
						"q",
						":TSQLiteResultSet",
						.var_address=&bbt_q
					},
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 395, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_q=(struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj**)BBARRAYDATAINDEX((((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ),(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)];
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 396, 0};
			bbOnDebugEnterStm(&__stmt_1);
			if(((BBObject*)bbt_q)!= &bbNullObject){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 397, 0};
				bbOnDebugEnterStm(&__stmt_0);
				((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)bbt_q))->clas->m_free((struct database_sqlite_TSQLiteResultSet_obj*)bbt_q);
				bbOnDebugLeaveScope();
			}
			bbOnDebugLeaveScope();
		}
	}
	bbOnDebugLeaveScope();
}
void _database_sqlite_TDBSQLite_resetQueries(struct database_sqlite_TDBSQLite_obj* o){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"resetQueries",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 403, 0};
	bbOnDebugEnterStm(&__stmt_0);
	BBARRAY bbt_=((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ;
	BBUINT bbt_2=0U;
	while(bbt_2<((BBUINT)(bbt_->scales[0]))){
		struct database_sqlite_TSQLiteResultSet_obj* bbt_q=(struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj*)&bbNullObject);
		struct BBDebugScope_1 __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_LOCAL,
					"q",
					":TSQLiteResultSet",
					.var_address=&bbt_q
				},
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 403, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_q=(struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj**)BBARRAYDATAINDEX((bbt_),(bbt_)->dims,bbt_2))[bbt_2];
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 403, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbt_2=(bbt_2+1U);
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 403, 0};
		bbOnDebugEnterStm(&__stmt_2);
		if(((BBOBJECT)bbt_q)==&bbNullObject){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 403, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			continue;
		}
		struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 404, 0};
		bbOnDebugEnterStm(&__stmt_3);
		if(((BBObject*)bbt_q)!= &bbNullObject){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 405, 0};
			bbOnDebugEnterStm(&__stmt_0);
			((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)bbt_q))->clas->m_reset((struct database_sqlite_TSQLiteResultSet_obj*)bbt_q);
			bbOnDebugLeaveScope();
		}
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
void _database_sqlite_TDBSQLite_addQuery_TTSQLiteResultSet(struct database_sqlite_TDBSQLite_obj* o,struct database_sqlite_TSQLiteResultSet_obj* bbt_query){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	BBINT bbt_firstFree=0;
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"addQuery",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"query",
				":TSQLiteResultSet",
				.var_address=&bbt_query
			},
			{
				BBDEBUGDECL_LOCAL,
				"firstFree",
				"i",
				.var_address=&bbt_firstFree
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 411, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_firstFree=-1;
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 412, 0};
	bbOnDebugEnterStm(&__stmt_1);
	{
		BBINT bbt_i=0;
		BBINT bbt_=(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ->scales[0]);
		for(;(bbt_i<bbt_);bbt_i=(bbt_i+1)){
			struct database_sqlite_TSQLiteResultSet_obj* bbt_q=(struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj*)&bbNullObject);
			struct BBDebugScope_2 __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_LOCAL,
						"i",
						"i",
						.var_address=&bbt_i
					},
					{
						BBDEBUGDECL_LOCAL,
						"q",
						":TSQLiteResultSet",
						.var_address=&bbt_q
					},
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 413, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_q=(struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj**)BBARRAYDATAINDEX((((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ),(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)];
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 414, 0};
			bbOnDebugEnterStm(&__stmt_1);
			if(!(((BBObject*)bbt_q)!= &bbNullObject) && (bbt_firstFree<0)){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 415, 0};
				bbOnDebugEnterStm(&__stmt_0);
				bbt_firstFree=bbt_i;
				bbOnDebugLeaveScope();
			}else{
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 416, 0};
				bbOnDebugEnterStm(&__stmt_0);
				if(((struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj**)BBARRAYDATAINDEX((((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ),(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])==bbt_query){
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 417, 0};
					bbOnDebugEnterStm(&__stmt_0);
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					return;
				}
				bbOnDebugLeaveScope();
			}
			bbOnDebugLeaveScope();
		}
	}
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 420, 0};
	bbOnDebugEnterStm(&__stmt_2);
	if(bbt_firstFree>=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 421, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_sqlite_TSQLiteResultSet_obj**)BBARRAYDATAINDEX((((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ),(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries )->dims,((BBUINT)bbt_firstFree)))[((BBUINT)bbt_firstFree)]=(struct database_sqlite_TSQLiteResultSet_obj*)bbt_query;
		bbOnDebugLeaveScope();
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 423, 0};
		bbOnDebugEnterStm(&__stmt_0);
		struct database_sqlite_TSQLiteResultSet_obj* bbt_2[]={bbt_query};
		BBARRAY bbt_3 = bbArrayFromData(":TSQLiteResultSet",1,bbt_2);
		((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries =bbArrayConcat(":TSQLiteResultSet",((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ,bbt_3);
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
void _database_sqlite_TDBSQLite_removeQuery_TTSQLiteResultSet(struct database_sqlite_TDBSQLite_obj* o,struct database_sqlite_TSQLiteResultSet_obj* bbt_query){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"removeQuery",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"query",
				":TSQLiteResultSet",
				.var_address=&bbt_query
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 428, 0};
	bbOnDebugEnterStm(&__stmt_0);
	{
		BBINT bbt_i=0;
		BBINT bbt_=(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ->scales[0]);
		for(;(bbt_i<bbt_);bbt_i=(bbt_i+1)){
			struct BBDebugScope_1 __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_LOCAL,
						"i",
						"i",
						.var_address=&bbt_i
					},
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 429, 0};
			bbOnDebugEnterStm(&__stmt_0);
			if(((struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj**)BBARRAYDATAINDEX((((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ),(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])==bbt_query){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 430, 0};
				bbOnDebugEnterStm(&__stmt_0);
				((struct database_sqlite_TSQLiteResultSet_obj**)BBARRAYDATAINDEX((((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries ),(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tdbsqlite_queries )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)]=(struct database_sqlite_TSQLiteResultSet_obj*)&bbNullObject;
				struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 431, 0};
				bbOnDebugEnterStm(&__stmt_1);
				bbOnDebugLeaveScope();
				bbOnDebugLeaveScope();
				break;
			}
			bbOnDebugLeaveScope();
		}
	}
	bbOnDebugLeaveScope();
}
void _database_sqlite_TDBSQLite_addUser_SSi(struct database_sqlite_TDBSQLite_obj* o,BBSTRING bbt_username,BBSTRING bbt_password,BBINT bbt_isAdmin){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"addUser",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"username",
				"$",
				.var_address=&bbt_username
			},
			{
				BBDEBUGDECL_LOCAL,
				"password",
				"$",
				.var_address=&bbt_password
			},
			{
				BBDEBUGDECL_LOCAL,
				"isAdmin",
				"i",
				.var_address=&bbt_isAdmin
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 437, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(bbt_username!= &bbEmptyString){
		BBBYTE* bbt_n=0;
		BBBYTE* bbt_p=0;
		BBINT bbt_plen=0;
		BBINT bbt_res=0;
		struct BBDebugScope_4 __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_LOCAL,
					"n",
					"*b",
					.var_address=&bbt_n
				},
				{
					BBDEBUGDECL_LOCAL,
					"p",
					"*b",
					.var_address=&bbt_p
				},
				{
					BBDEBUGDECL_LOCAL,
					"plen",
					"i",
					.var_address=&bbt_plen
				},
				{
					BBDEBUGDECL_LOCAL,
					"res",
					"i",
					.var_address=&bbt_res
				},
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 438, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_n=bbStringToUTF8String((BBSTRING)bbt_username);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 439, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbt_p=0;
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 440, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbt_plen=0;
		struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 441, 0};
		bbOnDebugEnterStm(&__stmt_3);
		if(bbt_password!= &bbEmptyString){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 442, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_p=bbStringToUTF8String((BBSTRING)bbt_password);
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 443, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_plen=strlen(bbt_p);
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 446, 0};
		bbOnDebugEnterStm(&__stmt_4);
		bbt_res=sqlite3_user_add(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection_handle ,bbt_n,bbt_p,bbt_plen,bbt_isAdmin);
		struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 448, 0};
		bbOnDebugEnterStm(&__stmt_5);
		if(bbt_p){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 449, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbMemFree((void*)bbt_p);
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_6 = {0x8a7687fb851c7c9e, 451, 0};
		bbOnDebugEnterStm(&__stmt_6);
		bbMemFree((void*)bbt_n);
		struct BBDebugStm __stmt_7 = {0x8a7687fb851c7c9e, 453, 0};
		bbOnDebugEnterStm(&__stmt_7);
		if(bbt_res!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 454, 0};
			bbOnDebugEnterStm(&__stmt_0);
			((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
			((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s47),(&bbEmptyString),2,bbt_res);
			bbOnDebugLeaveScope();
		}
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
void _database_sqlite_TDBSQLite_modifyUser_SSi(struct database_sqlite_TDBSQLite_obj* o,BBSTRING bbt_username,BBSTRING bbt_password,BBINT bbt_isAdmin){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"modifyUser",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"username",
				"$",
				.var_address=&bbt_username
			},
			{
				BBDEBUGDECL_LOCAL,
				"password",
				"$",
				.var_address=&bbt_password
			},
			{
				BBDEBUGDECL_LOCAL,
				"isAdmin",
				"i",
				.var_address=&bbt_isAdmin
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 461, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(bbt_username!= &bbEmptyString){
		BBBYTE* bbt_n=0;
		BBBYTE* bbt_p=0;
		BBINT bbt_plen=0;
		BBINT bbt_res=0;
		struct BBDebugScope_4 __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_LOCAL,
					"n",
					"*b",
					.var_address=&bbt_n
				},
				{
					BBDEBUGDECL_LOCAL,
					"p",
					"*b",
					.var_address=&bbt_p
				},
				{
					BBDEBUGDECL_LOCAL,
					"plen",
					"i",
					.var_address=&bbt_plen
				},
				{
					BBDEBUGDECL_LOCAL,
					"res",
					"i",
					.var_address=&bbt_res
				},
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 462, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_n=bbStringToUTF8String((BBSTRING)bbt_username);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 463, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbt_p=0;
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 464, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbt_plen=0;
		struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 465, 0};
		bbOnDebugEnterStm(&__stmt_3);
		if(bbt_password!= &bbEmptyString){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 466, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_p=bbStringToUTF8String((BBSTRING)bbt_password);
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 467, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_plen=strlen(bbt_p);
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 470, 0};
		bbOnDebugEnterStm(&__stmt_4);
		bbt_res=sqlite3_user_change(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection_handle ,bbt_n,bbt_p,bbt_plen,bbt_isAdmin);
		struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 472, 0};
		bbOnDebugEnterStm(&__stmt_5);
		if(bbt_p){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 473, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbMemFree((void*)bbt_p);
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_6 = {0x8a7687fb851c7c9e, 475, 0};
		bbOnDebugEnterStm(&__stmt_6);
		bbMemFree((void*)bbt_n);
		struct BBDebugStm __stmt_7 = {0x8a7687fb851c7c9e, 477, 0};
		bbOnDebugEnterStm(&__stmt_7);
		if(bbt_res!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 478, 0};
			bbOnDebugEnterStm(&__stmt_0);
			((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
			((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s48),(&bbEmptyString),2,bbt_res);
			bbOnDebugLeaveScope();
		}
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
void _database_sqlite_TDBSQLite_deleteUser_S(struct database_sqlite_TDBSQLite_obj* o,BBSTRING bbt_username){
	((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"deleteUser",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TDBSQLite",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"username",
				"$",
				.var_address=&bbt_username
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 485, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(bbt_username!= &bbEmptyString){
		BBBYTE* bbt_n=0;
		BBINT bbt_res=0;
		struct BBDebugScope_2 __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_LOCAL,
					"n",
					"*b",
					.var_address=&bbt_n
				},
				{
					BBDEBUGDECL_LOCAL,
					"res",
					"i",
					.var_address=&bbt_res
				},
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 486, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_n=bbStringToUTF8String((BBSTRING)bbt_username);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 488, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbt_res=sqlite3_user_delete(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tdbconnection_handle ,bbt_n);
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 490, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbMemFree((void*)bbt_n);
		struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 492, 0};
		bbOnDebugEnterStm(&__stmt_3);
		if(bbt_res!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 493, 0};
			bbOnDebugEnterStm(&__stmt_0);
			((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)o));
			((struct database_core_TDBConnection_obj*)o)->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)o,((BBString*)&_s49),(&bbEmptyString),2,bbt_res);
			bbOnDebugLeaveScope();
		}
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
struct BBDebugScope_22 database_sqlite_TDBSQLite_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TDBSQLite",
	{
		{
			BBDEBUGDECL_FIELD,
			"queries",
			"[]:TSQLiteResultSet",
			.field_offset=offsetof(struct database_sqlite_TDBSQLite_obj,_database_sqlite_tdbsqlite_queries)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_New
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Create",
			"($,$,i,$,$,$,$):TDBConnection",
			.func_ptr=(BBFuncPtr)&database_sqlite_TDBSQLite_Create_TTDBConnection_SSiSSSS
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"close",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_close
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"commit",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_commit
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getTables",
			"()[]$",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_getTables
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"getTableInfo",
			"($,i):TDBTable",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_getTableInfo_Si
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"open",
			"($,$)i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_open_SS
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"rollback",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_rollback
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"startTransaction",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_startTransaction
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"databaseHandle",
			"()*b",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_databaseHandle
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"createResultSet",
			"():TQueryResultSet",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_createResultSet
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"nativeErrorMessage",
			"(i)$",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_nativeErrorMessage_i
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"hasPrepareSupport",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_hasPrepareSupport
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"hasTransactionSupport",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_hasTransactionSupport
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"clearQueries",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_clearQueries
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"resetQueries",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_resetQueries
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"addQuery",
			"(:TSQLiteResultSet)",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_addQuery_TTSQLiteResultSet
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"removeQuery",
			"(:TSQLiteResultSet)",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_removeQuery_TTSQLiteResultSet
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"addUser",
			"($,$,i)",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_addUser_SSi
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"modifyUser",
			"($,$,i)",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_modifyUser_SSi
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"deleteUser",
			"($)",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TDBSQLite_deleteUser_S
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_sqlite_TDBSQLite database_sqlite_TDBSQLite={
	&database_core_TDBConnection,
	bbObjectFree,
	(BBDebugScope*)&database_sqlite_TDBSQLite_scope,
	sizeof(struct database_sqlite_TDBSQLite_obj),
	(void (*)(BBOBJECT))_database_sqlite_TDBSQLite_New,
	(void (*)(BBOBJECT))_database_sqlite_TDBSQLite_Delete,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	sizeof(BBARRAY)
	,0
	,offsetof(struct database_sqlite_TDBSQLite_obj,_database_sqlite_tdbsqlite_queries)
	,database_sqlite_TDBSQLite_Create_TTDBConnection_SSiSSSS
	,_database_core_TDBConnection_Init_SSiSSSS
	,_database_sqlite_TDBSQLite_close
	,_database_sqlite_TDBSQLite_commit
	,_database_sqlite_TDBSQLite_getTables
	,_database_sqlite_TDBSQLite_getTableInfo_Si
	,_database_sqlite_TDBSQLite_open_SS
	,_database_sqlite_TDBSQLite_rollback
	,_database_sqlite_TDBSQLite_startTransaction
	,_database_core_TDBConnection_executeQuery_S
	,_database_core_TDBConnection_isOpen
	,_database_core_TDBConnection_getDatabaseName
	,_database_core_TDBConnection_getHost
	,_database_core_TDBConnection_getPortNumber
	,_database_core_TDBConnection_error
	,_database_core_TDBConnection_resetError
	,_database_core_TDBConnection_hasError
	,_database_core_TDBConnection_setError_SSii
	,_database_sqlite_TDBSQLite_databaseHandle
	,_database_sqlite_TDBSQLite_createResultSet
	,_database_sqlite_TDBSQLite_nativeErrorMessage_i
	,_database_sqlite_TDBSQLite_hasPrepareSupport
	,_database_sqlite_TDBSQLite_hasTransactionSupport
	,_database_core_TDBConnection_free
	,_database_sqlite_TDBSQLite_clearQueries
	,_database_sqlite_TDBSQLite_resetQueries
	,_database_sqlite_TDBSQLite_addQuery_TTSQLiteResultSet
	,_database_sqlite_TDBSQLite_removeQuery_TTSQLiteResultSet
	,_database_sqlite_TDBSQLite_addUser_SSi
	,_database_sqlite_TDBSQLite_modifyUser_SSi
	,_database_sqlite_TDBSQLite_deleteUser_S
};

void _database_sqlite_TSQLiteResultSet_New(struct database_sqlite_TSQLiteResultSet_obj* o) {
	_database_core_TQueryResultSet_New((struct database_core_TQueryResultSet_obj*)o);
	o->clas = &database_sqlite_TSQLiteResultSet;
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_initialfetch = 1;
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_fakefirstrowfetch = 0;
}
void _database_sqlite_TSQLiteResultSet_Delete(struct database_sqlite_TSQLiteResultSet_obj* o) {
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Delete",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 516, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_free((struct database_sqlite_TSQLiteResultSet_obj*)o);
	bbOnDebugLeaveScope();
	_database_core_TQueryResultSet_Delete((struct database_core_TQueryResultSet_obj*)o);
}
void _database_sqlite_TSQLiteResultSet_free(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"free",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 507, 0};
	bbOnDebugEnterStm(&__stmt_0);
	struct database_sqlite_TDBSQLite_obj* bbt_;
	(((struct database_sqlite_TDBSQLite_obj*)((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)(bbt_ = ((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,(BBClass*)&database_sqlite_TDBSQLite))))))->clas)->m_removeQuery_TTSQLiteResultSet((struct database_sqlite_TDBSQLite_obj*)bbt_,(struct database_sqlite_TSQLiteResultSet_obj*)o);
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 509, 0};
	bbOnDebugEnterStm(&__stmt_1);
	if(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 510, 0};
		bbOnDebugEnterStm(&__stmt_0);
		sqlite3_finalize(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 511, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle =0;
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
void _database_sqlite_TSQLiteResultSet_reset(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"reset",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 520, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_initialfetch =1;
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 521, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_index =-1;
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 522, 0};
	bbOnDebugEnterStm(&__stmt_2);
	if(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 523, 0};
		bbOnDebugEnterStm(&__stmt_0);
		sqlite3_reset(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
		bbOnDebugLeaveScope();
	}
	bbOnDebugLeaveScope();
}
struct database_core_TQueryResultSet_obj* database_sqlite_TSQLiteResultSet_Create_TTQueryResultSet_TTDBConnectionS(struct database_core_TDBConnection_obj* bbt_db,BBSTRING bbt_sql){
	struct database_sqlite_TSQLiteResultSet_obj* bbt_this=(struct database_sqlite_TSQLiteResultSet_obj*)((struct database_sqlite_TSQLiteResultSet_obj*)&bbNullObject);
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"Create",
		{
			{
				BBDEBUGDECL_LOCAL,
				"db",
				":TDBConnection",
				.var_address=&bbt_db
			},
			{
				BBDEBUGDECL_LOCAL,
				"sql",
				"$",
				.var_address=&bbt_sql
			},
			{
				BBDEBUGDECL_LOCAL,
				"this",
				":TSQLiteResultSet",
				.var_address=&bbt_this
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 528, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_this=(struct database_sqlite_TSQLiteResultSet_obj*)(struct database_sqlite_TSQLiteResultSet_obj*)bbObjectNew((BBClass *)&database_sqlite_TSQLiteResultSet);
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 530, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)bbt_this))->clas->m_Init_TTDBConnectionS((struct database_core_TQueryResultSet_obj*)bbt_this,(struct database_core_TDBConnection_obj*)bbt_db,bbt_sql);
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 531, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)bbt_this))->_database_core_tqueryresultset_rec =(struct database_core_TQueryRecord_obj*)database_core_TQueryRecord_Create_TTQueryRecord();
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 532, 0};
	bbOnDebugEnterStm(&__stmt_3);
	struct database_sqlite_TDBSQLite_obj* bbt_;
	(((struct database_sqlite_TDBSQLite_obj*)((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)(bbt_ = ((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)bbt_this))->_database_core_tqueryresultset_conn ,(BBClass*)&database_sqlite_TDBSQLite))))))->clas)->m_addQuery_TTSQLiteResultSet((struct database_sqlite_TDBSQLite_obj*)bbt_,(struct database_sqlite_TSQLiteResultSet_obj*)bbt_this);
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 534, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbOnDebugLeaveScope();
	return (struct database_core_TQueryResultSet_obj*)((struct database_core_TQueryResultSet_obj*)bbObjectDowncast((BBOBJECT)bbt_this,(BBClass*)&database_core_TQueryResultSet));
}
BBINT _database_sqlite_TSQLiteResultSet_executeQuery_S(struct database_sqlite_TSQLiteResultSet_obj* o,BBSTRING bbt_statement){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"executeQuery",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"statement",
				"$",
				.var_address=&bbt_statement
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 539, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbDelay(1);
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 541, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	if(!(((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_prepare_S((struct database_sqlite_TSQLiteResultSet_obj*)o,bbt_statement)!=0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 542, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 545, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	bbOnDebugLeaveScope();
	return ((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_execute((struct database_sqlite_TSQLiteResultSet_obj*)o);
}
void _database_sqlite_TSQLiteResultSet_cleanup(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"cleanup",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 549, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_index =-1;
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 550, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_initialfetch =1;
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 552, 0};
	bbOnDebugEnterStm(&__stmt_2);
	((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_core_TQueryResultSet_obj*)o)->clas->m_clear((struct database_core_TQueryResultSet_obj*)o);
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 553, 0};
	bbOnDebugEnterStm(&__stmt_3);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_free((struct database_sqlite_TSQLiteResultSet_obj*)o);
	bbOnDebugLeaveScope();
}
BBINT _database_sqlite_TSQLiteResultSet_prepare_S(struct database_sqlite_TSQLiteResultSet_obj* o,BBSTRING bbt_stmt){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	BBBYTE* bbt_q=0;
	BBINT bbt_result=0;
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"prepare",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"stmt",
				"$",
				.var_address=&bbt_stmt
			},
			{
				BBDEBUGDECL_LOCAL,
				"q",
				"*b",
				.var_address=&bbt_q
			},
			{
				BBDEBUGDECL_LOCAL,
				"result",
				"i",
				.var_address=&bbt_result
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 558, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(!(((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn )!= &bbNullObject) || !(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->clas->m_isOpen((struct database_core_TDBConnection_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn )!=0)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 559, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 562, 0};
	bbOnDebugEnterStm(&__stmt_1);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_cleanup((struct database_sqlite_TSQLiteResultSet_obj*)o);
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 563, 0};
	bbOnDebugEnterStm(&__stmt_2);
	struct database_sqlite_TDBSQLite_obj* bbt_;
	(((struct database_sqlite_TDBSQLite_obj*)((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)(bbt_ = ((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,(BBClass*)&database_sqlite_TDBSQLite))))))->clas)->m_addQuery_TTSQLiteResultSet((struct database_sqlite_TDBSQLite_obj*)bbt_,(struct database_sqlite_TSQLiteResultSet_obj*)o);
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 566, 0};
	bbOnDebugEnterStm(&__stmt_3);
	if(!(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_query != &bbEmptyString)){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 567, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_query =bbt_stmt;
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 570, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbt_q=bbStringToUTF8String((BBSTRING)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_query );
	struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 572, 0};
	bbOnDebugEnterStm(&__stmt_5);
	bbt_result=sqlite3_prepare_v2(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,(BBClass*)&database_sqlite_TDBSQLite))))->_database_core_tdbconnection_handle ,bbt_q,strlen(bbt_q),((BBBYTE**)(&((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle )),0);
	struct BBDebugStm __stmt_6 = {0x8a7687fb851c7c9e, 573, 0};
	bbOnDebugEnterStm(&__stmt_6);
	bbMemFree((void*)bbt_q);
	struct BBDebugStm __stmt_7 = {0x8a7687fb851c7c9e, 574, 0};
	bbOnDebugEnterStm(&__stmt_7);
	if(bbt_result!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 575, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,((BBString*)&_s50),bbStringFromUTF8String(sqlite3_errmsg(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,(BBClass*)&database_sqlite_TDBSQLite))))->_database_core_tdbconnection_handle )),3,bbt_result);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 577, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_free((struct database_sqlite_TSQLiteResultSet_obj*)o);
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 578, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_8 = {0x8a7687fb851c7c9e, 581, 0};
	bbOnDebugEnterStm(&__stmt_8);
	bbOnDebugLeaveScope();
	return 1;
}
BBINT _database_sqlite_TSQLiteResultSet_execute(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	BBINT bbt_result=0;
	BBARRAY bbt_values=(&bbEmptyArray);
	BBINT bbt_paramCount=0;
	struct BBDebugScope_4 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"execute",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"result",
				"i",
				.var_address=&bbt_result
			},
			{
				BBDEBUGDECL_LOCAL,
				"values",
				"[]:TDBType",
				.var_address=&bbt_values
			},
			{
				BBDEBUGDECL_LOCAL,
				"paramCount",
				"i",
				.var_address=&bbt_paramCount
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 587, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_fakefirstrowfetch =0;
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 589, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_result=sqlite3_reset(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 590, 0};
	bbOnDebugEnterStm(&__stmt_2);
	if(bbt_result!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 591, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,((BBString*)&_s51),bbStringFromUTF8String(sqlite3_errmsg(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,(BBClass*)&database_sqlite_TDBSQLite))))->_database_core_tdbconnection_handle )),3,bbt_result);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 593, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_free((struct database_sqlite_TSQLiteResultSet_obj*)o);
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 594, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 598, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbt_values=((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_boundvalues ;
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 600, 0};
	bbOnDebugEnterStm(&__stmt_4);
	bbt_paramCount=sqlite3_bind_parameter_count(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
	struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 602, 0};
	bbOnDebugEnterStm(&__stmt_5);
	if(bbt_paramCount==((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_bindcount ){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 604, 0};
		bbOnDebugEnterStm(&__stmt_0);
		{
			BBINT bbt_i=0;
			BBINT bbt_=bbt_paramCount;
			for(;(bbt_i<bbt_);bbt_i=(bbt_i+1)){
				struct BBDebugScope_1 __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_LOCAL,
							"i",
							"i",
							.var_address=&bbt_i
						},
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 607, 0};
				bbOnDebugEnterStm(&__stmt_0);
				bbt_result=0;
				struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 609, 0};
				bbOnDebugEnterStm(&__stmt_1);
				struct database_core_dbtypes_TDBType_obj* bbt_2;
				if(!(((BBObject*)((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])!= &bbNullObject) || ((((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_2 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_isNull((struct database_core_dbtypes_TDBType_obj*)bbt_2)!=0)){
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 610, 0};
					bbOnDebugEnterStm(&__stmt_0);
					bbt_result=sqlite3_bind_null(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,(bbt_i+1));
					bbOnDebugLeaveScope();
				}else{
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 612, 0};
					bbOnDebugEnterStm(&__stmt_0);
					struct database_core_dbtypes_TDBType_obj* bbt_4;
					BBINT bbt_3=(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_4 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_kind((struct database_core_dbtypes_TDBType_obj*)bbt_4);
					struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 613, 0};
					bbOnDebugEnterStm(&__stmt_1);
					if(bbt_3==2){
						struct BBDebugScope __scope = {
							BBDEBUGSCOPE_LOCALBLOCK,
							0,
							{
								{
									BBDEBUGDECL_END
								}
							}
						};
						bbOnDebugEnterScope((BBDebugScope *)&__scope);
						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 614, 0};
						bbOnDebugEnterStm(&__stmt_0);
						struct database_core_dbtypes_TDBType_obj* bbt_5;
						bbt_result=sqlite3_bind_int(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,(bbt_i+1),(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_5 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_getInt((struct database_core_dbtypes_TDBType_obj*)bbt_5));
						bbOnDebugLeaveScope();
					}else{
						struct BBDebugScope __scope = {
							BBDEBUGSCOPE_LOCALBLOCK,
							0,
							{
								{
									BBDEBUGDECL_END
								}
							}
						};
						bbOnDebugEnterScope((BBDebugScope *)&__scope);
						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 615, 0};
						bbOnDebugEnterStm(&__stmt_0);
						if(bbt_3==4){
							struct BBDebugScope __scope = {
								BBDEBUGSCOPE_LOCALBLOCK,
								0,
								{
									{
										BBDEBUGDECL_END
									}
								}
							};
							bbOnDebugEnterScope((BBDebugScope *)&__scope);
							struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 616, 0};
							bbOnDebugEnterStm(&__stmt_0);
							struct database_core_dbtypes_TDBType_obj* bbt_6;
							bbt_result=sqlite3_bind_double(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,(bbt_i+1),((BBDOUBLE)(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_6 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_getFloat((struct database_core_dbtypes_TDBType_obj*)bbt_6)));
							bbOnDebugLeaveScope();
						}else{
							struct BBDebugScope __scope = {
								BBDEBUGSCOPE_LOCALBLOCK,
								0,
								{
									{
										BBDEBUGDECL_END
									}
								}
							};
							bbOnDebugEnterScope((BBDebugScope *)&__scope);
							struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 617, 0};
							bbOnDebugEnterStm(&__stmt_0);
							if(bbt_3==3){
								struct BBDebugScope __scope = {
									BBDEBUGSCOPE_LOCALBLOCK,
									0,
									{
										{
											BBDEBUGDECL_END
										}
									}
								};
								bbOnDebugEnterScope((BBDebugScope *)&__scope);
								struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 618, 0};
								bbOnDebugEnterStm(&__stmt_0);
								struct database_core_dbtypes_TDBType_obj* bbt_7;
								bbt_result=sqlite3_bind_double(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,(bbt_i+1),(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_7 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_getDouble((struct database_core_dbtypes_TDBType_obj*)bbt_7));
								bbOnDebugLeaveScope();
							}else{
								struct BBDebugScope __scope = {
									BBDEBUGSCOPE_LOCALBLOCK,
									0,
									{
										{
											BBDEBUGDECL_END
										}
									}
								};
								bbOnDebugEnterScope((BBDebugScope *)&__scope);
								struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 619, 0};
								bbOnDebugEnterStm(&__stmt_0);
								if(bbt_3==5){
									struct BBDebugScope __scope = {
										BBDEBUGSCOPE_LOCALBLOCK,
										0,
										{
											{
												BBDEBUGDECL_END
											}
										}
									};
									bbOnDebugEnterScope((BBDebugScope *)&__scope);
									struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 620, 0};
									bbOnDebugEnterStm(&__stmt_0);
									struct database_core_dbtypes_TDBType_obj* bbt_8;
									bbt_result=sqlite3_bind_int64(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,(bbt_i+1),(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_8 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_getLong((struct database_core_dbtypes_TDBType_obj*)bbt_8));
									bbOnDebugLeaveScope();
								}else{
									struct BBDebugScope __scope = {
										BBDEBUGSCOPE_LOCALBLOCK,
										0,
										{
											{
												BBDEBUGDECL_END
											}
										}
									};
									bbOnDebugEnterScope((BBDebugScope *)&__scope);
									struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 621, 0};
									bbOnDebugEnterStm(&__stmt_0);
									if(bbt_3==1){
										BBBYTE* bbt_s=0;
										struct BBDebugScope_1 __scope = {
											BBDEBUGSCOPE_LOCALBLOCK,
											0,
											{
												{
													BBDEBUGDECL_LOCAL,
													"s",
													"*b",
													.var_address=&bbt_s
												},
												{
													BBDEBUGDECL_END
												}
											}
										};
										bbOnDebugEnterScope((BBDebugScope *)&__scope);
										struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 622, 0};
										bbOnDebugEnterStm(&__stmt_0);
										struct database_core_dbtypes_TDBType_obj* bbt_9;
										bbt_s=bbStringToUTF8String((BBSTRING)(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_9 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_getString((struct database_core_dbtypes_TDBType_obj*)bbt_9));
										struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 623, 0};
										bbOnDebugEnterStm(&__stmt_1);
										bbt_result=bmx_sqlite3_bind_text64(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,(bbt_i+1),bbt_s,((BBLONG)strlen(bbt_s)),-1);
										struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 624, 0};
										bbOnDebugEnterStm(&__stmt_2);
										bbMemFree((void*)bbt_s);
										bbOnDebugLeaveScope();
									}else{
										struct BBDebugScope __scope = {
											BBDEBUGSCOPE_LOCALBLOCK,
											0,
											{
												{
													BBDEBUGDECL_END
												}
											}
										};
										bbOnDebugEnterScope((BBDebugScope *)&__scope);
										struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 625, 0};
										bbOnDebugEnterStm(&__stmt_0);
										if(bbt_3==7){
											struct BBDebugScope __scope = {
												BBDEBUGSCOPE_LOCALBLOCK,
												0,
												{
													{
														BBDEBUGDECL_END
													}
												}
											};
											bbOnDebugEnterScope((BBDebugScope *)&__scope);
											struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 626, 0};
											bbOnDebugEnterStm(&__stmt_0);
											struct database_core_dbtypes_TDBType_obj* bbt_10;
											struct database_core_dbtypes_TDBType_obj* bbt_11;
											bbt_result=bmx_sqlite3_bind_blob64(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,(bbt_i+1),(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_10 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_getBlob((struct database_core_dbtypes_TDBType_obj*)bbt_10),((BBLONG)(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_11 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_size((struct database_core_dbtypes_TDBType_obj*)bbt_11)),0);
											bbOnDebugLeaveScope();
										}else{
											struct BBDebugScope __scope = {
												BBDEBUGSCOPE_LOCALBLOCK,
												0,
												{
													{
														BBDEBUGDECL_END
													}
												}
											};
											bbOnDebugEnterScope((BBDebugScope *)&__scope);
											struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 627, 0};
											bbOnDebugEnterStm(&__stmt_0);
											if(((bbt_3==6) || (bbt_3==8)) || (bbt_3==9)){
												BBBYTE* bbt_s2=0;
												struct BBDebugScope_1 __scope = {
													BBDEBUGSCOPE_LOCALBLOCK,
													0,
													{
														{
															BBDEBUGDECL_LOCAL,
															"s",
															"*b",
															.var_address=&bbt_s2
														},
														{
															BBDEBUGDECL_END
														}
													}
												};
												bbOnDebugEnterScope((BBDebugScope *)&__scope);
												struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 628, 0};
												bbOnDebugEnterStm(&__stmt_0);
												struct database_core_dbtypes_TDBType_obj* bbt_12;
												bbt_s2=bbStringToUTF8String((BBSTRING)(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_12 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((bbt_values),(bbt_values)->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_getString((struct database_core_dbtypes_TDBType_obj*)bbt_12));
												struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 629, 0};
												bbOnDebugEnterStm(&__stmt_1);
												bbt_result=bmx_sqlite3_bind_text64(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,(bbt_i+1),bbt_s2,((BBLONG)strlen(bbt_s2)),-1);
												struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 630, 0};
												bbOnDebugEnterStm(&__stmt_2);
												bbMemFree((void*)bbt_s2);
												bbOnDebugLeaveScope();
											}
											bbOnDebugLeaveScope();
										}
										bbOnDebugLeaveScope();
									}
									bbOnDebugLeaveScope();
								}
								bbOnDebugLeaveScope();
							}
							bbOnDebugLeaveScope();
						}
						bbOnDebugLeaveScope();
					}
					bbOnDebugLeaveScope();
				}
				struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 635, 0};
				bbOnDebugEnterStm(&__stmt_2);
				if(bbt_result!=0){
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 636, 0};
					bbOnDebugEnterStm(&__stmt_0);
					sqlite3_reset(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
					struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 637, 0};
					bbOnDebugEnterStm(&__stmt_1);
					((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,bbStringConcat(bbStringConcat(((BBString*)&_s52),bbStringFromInt(bbt_i)),((BBString*)&_s6)),bbStringFromUTF8String(sqlite3_errmsg(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,(BBClass*)&database_sqlite_TDBSQLite))))->_database_core_tdbconnection_handle )),3,bbt_result);
					struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 639, 0};
					bbOnDebugEnterStm(&__stmt_2);
					((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
					((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_free((struct database_sqlite_TSQLiteResultSet_obj*)o);
					struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 640, 0};
					bbOnDebugEnterStm(&__stmt_3);
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					return 0;
				}
				bbOnDebugLeaveScope();
			}
		}
		bbOnDebugLeaveScope();
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 646, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,((BBString*)&_s53),(&bbEmptyString),3,0);
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 648, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
		((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_free((struct database_sqlite_TSQLiteResultSet_obj*)o);
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 649, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_6 = {0x8a7687fb851c7c9e, 653, 0};
	bbOnDebugEnterStm(&__stmt_6);
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_nextRow((struct database_sqlite_TSQLiteResultSet_obj*)o);
	struct BBDebugStm __stmt_7 = {0x8a7687fb851c7c9e, 655, 0};
	bbOnDebugEnterStm(&__stmt_7);
	struct database_core_TDatabaseError_obj* bbt_13;
	if(((struct database_core_TDatabaseError_obj*)bbNullObjectTest((BBObject*)(bbt_13 = ((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->clas->m_error((struct database_core_TDBConnection_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))))->clas->m_isSet((struct database_core_TDatabaseError_obj*)bbt_13)!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 656, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset__isactive =0;
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 657, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 0;
	}
	struct BBDebugStm __stmt_8 = {0x8a7687fb851c7c9e, 660, 0};
	bbOnDebugEnterStm(&__stmt_8);
	((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset__isactive =1;
	struct BBDebugStm __stmt_9 = {0x8a7687fb851c7c9e, 662, 0};
	bbOnDebugEnterStm(&__stmt_9);
	bbOnDebugLeaveScope();
	return 1;
}
BBINT _database_sqlite_TSQLiteResultSet_firstRow(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"firstRow",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 666, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_index ==-1){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 667, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return ((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_nextRow((struct database_sqlite_TSQLiteResultSet_obj*)o);
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 670, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbOnDebugLeaveScope();
	return 0;
}
BBINT _database_sqlite_TSQLiteResultSet_nextRow(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	BBINT bbt_result=0;
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"nextRow",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"result",
				"i",
				.var_address=&bbt_result
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 675, 0};
	bbOnDebugEnterStm(&__stmt_0);
	if(((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_fakefirstrowfetch !=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 676, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_fakefirstrowfetch =0;
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 677, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 1;
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 680, 0};
	bbOnDebugEnterStm(&__stmt_1);
	if(((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_initialfetch !=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 681, 0};
		bbOnDebugEnterStm(&__stmt_0);
		((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_fakefirstrowfetch =1;
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 682, 0};
		bbOnDebugEnterStm(&__stmt_1);
		((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_initialfetch =0;
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 685, 0};
	bbOnDebugEnterStm(&__stmt_2);
	bbt_result=sqlite3_step(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 687, 0};
	bbOnDebugEnterStm(&__stmt_3);
	BBINT bbt_=bbt_result;
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 688, 0};
	bbOnDebugEnterStm(&__stmt_4);
	if(bbt_==100){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 689, 0};
		bbOnDebugEnterStm(&__stmt_0);
		if(((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_isEmpty((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec )!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 690, 0};
			bbOnDebugEnterStm(&__stmt_0);
			((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
			((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_initRecord((struct database_sqlite_TSQLiteResultSet_obj*)o);
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 691, 0};
			bbOnDebugEnterStm(&__stmt_1);
			((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o));
			((struct database_core_TQueryResultSet_obj*)o)->clas->m_resetValues_i((struct database_core_TQueryResultSet_obj*)o,((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_count((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ));
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 695, 0};
		bbOnDebugEnterStm(&__stmt_1);
		{
			BBINT bbt_i=0;
			BBINT bbt_2=((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_count((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec );
			for(;(bbt_i<bbt_2);bbt_i=(bbt_i+1)){
				struct BBDebugScope_1 __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_LOCAL,
							"i",
							"i",
							.var_address=&bbt_i
						},
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 697, 0};
				bbOnDebugEnterStm(&__stmt_0);
				if(((BBObject*)((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])!= &bbNullObject){
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 698, 0};
					bbOnDebugEnterStm(&__stmt_0);
					struct database_core_dbtypes_TDBType_obj* bbt_3;
					(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_3 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_clear((struct database_core_dbtypes_TDBType_obj*)bbt_3);
					bbOnDebugLeaveScope();
				}
				struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 701, 0};
				bbOnDebugEnterStm(&__stmt_1);
				BBINT bbt_4=sqlite3_column_type(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i);
				struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 702, 0};
				bbOnDebugEnterStm(&__stmt_2);
				if(bbt_4==1){
					BBLONG bbt_lvalue=0;
					struct BBDebugScope_1 __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_LOCAL,
								"lvalue",
								"l",
								.var_address=&bbt_lvalue
							},
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 703, 0};
					bbOnDebugEnterStm(&__stmt_0);
					((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)]=(struct database_core_dbtypes_TDBType_obj*)((struct database_core_dbtypes_TDBType_obj*)bbObjectDowncast((BBOBJECT)(struct database_core_dbtypes_TDBLong_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBLong),(BBClass*)&database_core_dbtypes_TDBType));
					struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 704, 0};
					bbOnDebugEnterStm(&__stmt_1);
					bbt_lvalue=0LL;
					struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 705, 0};
					bbOnDebugEnterStm(&__stmt_2);
					bmx_sqlite3_column_int64(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i,(&bbt_lvalue));
					struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 706, 0};
					bbOnDebugEnterStm(&__stmt_3);
					struct database_core_dbtypes_TDBType_obj* bbt_5;
					(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_5 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_setLong_l((struct database_core_dbtypes_TDBType_obj*)bbt_5,bbt_lvalue);
					bbOnDebugLeaveScope();
				}else{
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 707, 0};
					bbOnDebugEnterStm(&__stmt_0);
					if(bbt_4==2){
						struct BBDebugScope __scope = {
							BBDEBUGSCOPE_LOCALBLOCK,
							0,
							{
								{
									BBDEBUGDECL_END
								}
							}
						};
						bbOnDebugEnterScope((BBDebugScope *)&__scope);
						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 708, 0};
						bbOnDebugEnterStm(&__stmt_0);
						((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)]=(struct database_core_dbtypes_TDBType_obj*)((struct database_core_dbtypes_TDBType_obj*)bbObjectDowncast((BBOBJECT)(struct database_core_dbtypes_TDBDouble_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBDouble),(BBClass*)&database_core_dbtypes_TDBType));
						struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 709, 0};
						bbOnDebugEnterStm(&__stmt_1);
						struct database_core_dbtypes_TDBType_obj* bbt_6;
						(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_6 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_setDouble_d((struct database_core_dbtypes_TDBType_obj*)bbt_6,sqlite3_column_double(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i));
						bbOnDebugLeaveScope();
					}else{
						struct BBDebugScope __scope = {
							BBDEBUGSCOPE_LOCALBLOCK,
							0,
							{
								{
									BBDEBUGDECL_END
								}
							}
						};
						bbOnDebugEnterScope((BBDebugScope *)&__scope);
						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 710, 0};
						bbOnDebugEnterStm(&__stmt_0);
						if(bbt_4==5){
							struct BBDebugScope __scope = {
								BBDEBUGSCOPE_LOCALBLOCK,
								0,
								{
									{
										BBDEBUGDECL_END
									}
								}
							};
							bbOnDebugEnterScope((BBDebugScope *)&__scope);
							bbOnDebugLeaveScope();
						}else{
							struct BBDebugScope __scope = {
								BBDEBUGSCOPE_LOCALBLOCK,
								0,
								{
									{
										BBDEBUGDECL_END
									}
								}
							};
							bbOnDebugEnterScope((BBDebugScope *)&__scope);
							struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 711, 0};
							bbOnDebugEnterStm(&__stmt_0);
							if(bbt_4==4){
								struct BBDebugScope __scope = {
									BBDEBUGSCOPE_LOCALBLOCK,
									0,
									{
										{
											BBDEBUGDECL_END
										}
									}
								};
								bbOnDebugEnterScope((BBDebugScope *)&__scope);
								struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 712, 0};
								bbOnDebugEnterStm(&__stmt_0);
								((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)]=(struct database_core_dbtypes_TDBType_obj*)((struct database_core_dbtypes_TDBType_obj*)bbObjectDowncast((BBOBJECT)(struct database_core_dbtypes_TDBBlob_obj*)bbObjectAtomicNew((BBClass *)&database_core_dbtypes_TDBBlob),(BBClass*)&database_core_dbtypes_TDBType));
								struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 713, 0};
								bbOnDebugEnterStm(&__stmt_1);
								struct database_core_dbtypes_TDBType_obj* bbt_7;
								(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_7 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_setBlob_pbii((struct database_core_dbtypes_TDBType_obj*)bbt_7,sqlite3_column_blob(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i),sqlite3_column_bytes(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i),1);
								bbOnDebugLeaveScope();
							}else{
								struct BBDebugScope __scope = {
									BBDEBUGSCOPE_LOCALBLOCK,
									0,
									{
										{
											BBDEBUGDECL_END
										}
									}
								};
								bbOnDebugEnterScope((BBDebugScope *)&__scope);
								struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 715, 0};
								bbOnDebugEnterStm(&__stmt_0);
								((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)]=(struct database_core_dbtypes_TDBType_obj*)((struct database_core_dbtypes_TDBType_obj*)bbObjectDowncast((BBOBJECT)(struct database_core_dbtypes_TDBString_obj*)bbObjectNew((BBClass *)&database_core_dbtypes_TDBString),(BBClass*)&database_core_dbtypes_TDBType));
								struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 716, 0};
								bbOnDebugEnterStm(&__stmt_1);
								struct database_core_dbtypes_TDBType_obj* bbt_8;
								(((struct database_core_dbtypes_TDBType_obj*)bbNullObjectTest((BBObject*)(bbt_8 = ((struct database_core_dbtypes_TDBType_obj**)BBARRAYDATAINDEX((((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values ),(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_values )->dims,((BBUINT)bbt_i)))[((BBUINT)bbt_i)])))->clas)->m_setString_S((struct database_core_dbtypes_TDBType_obj*)bbt_8,database_core_sizedUTF8toISO8859(sqlite3_column_text(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i),sqlite3_column_bytes(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i)));
								bbOnDebugLeaveScope();
							}
							bbOnDebugLeaveScope();
						}
						bbOnDebugLeaveScope();
					}
					bbOnDebugLeaveScope();
				}
				bbOnDebugLeaveScope();
			}
		}
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 720, 0};
		bbOnDebugEnterStm(&__stmt_2);
		((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_index +=1;
		struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 722, 0};
		bbOnDebugEnterStm(&__stmt_3);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 1;
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 723, 0};
		bbOnDebugEnterStm(&__stmt_0);
		if(bbt_==101){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 724, 0};
			bbOnDebugEnterStm(&__stmt_0);
			if(((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_isEmpty((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec )!=0){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 725, 0};
				bbOnDebugEnterStm(&__stmt_0);
				((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
				((struct database_sqlite_TSQLiteResultSet_obj*)o)->clas->m_initRecord((struct database_sqlite_TSQLiteResultSet_obj*)o);
				struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 726, 0};
				bbOnDebugEnterStm(&__stmt_1);
				((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o));
				((struct database_core_TQueryResultSet_obj*)o)->clas->m_resetValues_i((struct database_core_TQueryResultSet_obj*)o,((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_count((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ));
				struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 727, 0};
				bbOnDebugEnterStm(&__stmt_2);
				((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_setIsEmptySet((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec );
				bbOnDebugLeaveScope();
			}
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 731, 0};
			bbOnDebugEnterStm(&__stmt_1);
			((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_sqlite_tsqliteresultset_fakefirstrowfetch =0;
			struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 733, 0};
			bbOnDebugEnterStm(&__stmt_2);
			sqlite3_reset(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
			struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 735, 0};
			bbOnDebugEnterStm(&__stmt_3);
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			return 0;
		}else{
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 738, 0};
			bbOnDebugEnterStm(&__stmt_0);
			sqlite3_reset(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 741, 0};
			bbOnDebugEnterStm(&__stmt_1);
			((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->clas->m_setError_SSii((struct database_core_TDBConnection_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,bbStringFromUTF8String(sqlite3_errmsg(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ,(BBClass*)&database_sqlite_TDBSQLite))))->_database_core_tdbconnection_handle )),(&bbEmptyString),3,bbt_result);
			struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 742, 0};
			bbOnDebugEnterStm(&__stmt_2);
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			return 0;
		}
	}
}
void _database_sqlite_TSQLiteResultSet_initRecord(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	BBINT bbt_colCount=0;
	struct BBDebugScope_2 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"initRecord",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_LOCAL,
				"colCount",
				"i",
				.var_address=&bbt_colCount
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 749, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_clear((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec );
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 751, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_colCount=sqlite3_column_count(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle );
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 752, 0};
	bbOnDebugEnterStm(&__stmt_2);
	if(bbt_colCount<=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 753, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return;
	}
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 756, 0};
	bbOnDebugEnterStm(&__stmt_3);
	((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_Init_i((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ,bbt_colCount);
	struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 758, 0};
	bbOnDebugEnterStm(&__stmt_4);
	{
		BBINT bbt_i=0;
		BBINT bbt_=bbt_colCount;
		for(;(bbt_i<bbt_);bbt_i=(bbt_i+1)){
			BBSTRING bbt_columnName=(&bbEmptyString);
			BBBYTE* bbt_tn=0;
			BBSTRING bbt_typeName=(&bbEmptyString);
			BBINT bbt_dotPosition=0;
			struct BBDebugScope_5 __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_LOCAL,
						"i",
						"i",
						.var_address=&bbt_i
					},
					{
						BBDEBUGDECL_LOCAL,
						"columnName",
						"$",
						.var_address=&bbt_columnName
					},
					{
						BBDEBUGDECL_LOCAL,
						"tn",
						"*b",
						.var_address=&bbt_tn
					},
					{
						BBDEBUGDECL_LOCAL,
						"typeName",
						"$",
						.var_address=&bbt_typeName
					},
					{
						BBDEBUGDECL_LOCAL,
						"dotPosition",
						"i",
						.var_address=&bbt_dotPosition
					},
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 760, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_columnName=bbStringFromUTF8String(sqlite3_column_name(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i));
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 761, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_tn=sqlite3_column_decltype(((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_stmthandle ,bbt_i);
			struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 762, 0};
			bbOnDebugEnterStm(&__stmt_2);
			bbt_typeName=((BBString*)&bbEmptyString);
			struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 763, 0};
			bbOnDebugEnterStm(&__stmt_3);
			if(bbt_tn){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 764, 0};
				bbOnDebugEnterStm(&__stmt_0);
				bbt_typeName=bbStringFromUTF8String(bbt_tn);
				bbOnDebugLeaveScope();
			}
			struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 767, 0};
			bbOnDebugEnterStm(&__stmt_4);
			bbt_dotPosition=(bbStringFindLast((BBSTRING)bbt_columnName,((BBString*)&_s54),0)+1);
			struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 769, 0};
			bbOnDebugEnterStm(&__stmt_5);
			((struct database_core_TQueryRecord_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ))->clas->m_setField_iTTQueryField((struct database_core_TQueryRecord_obj*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_rec ,bbt_i,(struct database_core_TQueryField_obj*)database_core_TQueryField_Create_TTQueryField_Si(bbStringSlice(bbt_columnName,bbt_dotPosition,(bbt_columnName)->length),o->clas->f_dbTypeFromNative_i_Sii(bbt_typeName,0,0)));
			bbOnDebugLeaveScope();
		}
	}
	bbOnDebugLeaveScope();
}
BBINT database_sqlite_TSQLiteResultSet_dbTypeFromNative_i_Sii(BBSTRING bbt_name,BBINT bbt__type,BBINT bbt__flags){
	struct BBDebugScope_3 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"dbTypeFromNative",
		{
			{
				BBDEBUGDECL_LOCAL,
				"name",
				"$",
				.var_address=&bbt_name
			},
			{
				BBDEBUGDECL_LOCAL,
				"_type",
				"i",
				.var_address=&bbt__type
			},
			{
				BBDEBUGDECL_LOCAL,
				"_flags",
				"i",
				.var_address=&bbt__flags
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 777, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_name=bbStringToLower((BBSTRING)bbt_name);
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 779, 0};
	bbOnDebugEnterStm(&__stmt_1);
	if(bbStringStartsWith((BBSTRING)bbt_name,((BBString*)&_s55))!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 780, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 3;
	}
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 783, 0};
	bbOnDebugEnterStm(&__stmt_2);
	BBSTRING bbt_=bbt_name;
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 784, 0};
	bbOnDebugEnterStm(&__stmt_3);
	if(bbStringEquals(bbt_, ((BBString*)&_s56))==1){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 785, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return 5;
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 786, 0};
		bbOnDebugEnterStm(&__stmt_0);
		if(bbStringEquals(bbt_, ((BBString*)&_s57))==1){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 787, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			bbOnDebugLeaveScope();
			return 5;
		}else{
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 788, 0};
			bbOnDebugEnterStm(&__stmt_0);
			if(bbStringEquals(bbt_, ((BBString*)&_s58))==1){
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 789, 0};
				bbOnDebugEnterStm(&__stmt_0);
				bbOnDebugLeaveScope();
				bbOnDebugLeaveScope();
				bbOnDebugLeaveScope();
				bbOnDebugLeaveScope();
				return 3;
			}else{
				struct BBDebugScope __scope = {
					BBDEBUGSCOPE_LOCALBLOCK,
					0,
					{
						{
							BBDEBUGDECL_END
						}
					}
				};
				bbOnDebugEnterScope((BBDebugScope *)&__scope);
				struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 790, 0};
				bbOnDebugEnterStm(&__stmt_0);
				if(bbStringEquals(bbt_, ((BBString*)&_s59))==1){
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 791, 0};
					bbOnDebugEnterStm(&__stmt_0);
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					bbOnDebugLeaveScope();
					return 3;
				}else{
					struct BBDebugScope __scope = {
						BBDEBUGSCOPE_LOCALBLOCK,
						0,
						{
							{
								BBDEBUGDECL_END
							}
						}
					};
					bbOnDebugEnterScope((BBDebugScope *)&__scope);
					struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 792, 0};
					bbOnDebugEnterStm(&__stmt_0);
					if(bbStringEquals(bbt_, ((BBString*)&_s60))==1){
						struct BBDebugScope __scope = {
							BBDEBUGSCOPE_LOCALBLOCK,
							0,
							{
								{
									BBDEBUGDECL_END
								}
							}
						};
						bbOnDebugEnterScope((BBDebugScope *)&__scope);
						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 793, 0};
						bbOnDebugEnterStm(&__stmt_0);
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						return 7;
					}else{
						struct BBDebugScope __scope = {
							BBDEBUGSCOPE_LOCALBLOCK,
							0,
							{
								{
									BBDEBUGDECL_END
								}
							}
						};
						bbOnDebugEnterScope((BBDebugScope *)&__scope);
						struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 795, 0};
						bbOnDebugEnterStm(&__stmt_0);
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						bbOnDebugLeaveScope();
						return 1;
					}
				}
			}
		}
	}
}
BBLONG _database_sqlite_TSQLiteResultSet_lastInsertedId(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"lastInsertedId",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 801, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o));
	if(((struct database_core_TQueryResultSet_obj*)o)->clas->m_isActive((struct database_core_TQueryResultSet_obj*)o)!=0){
		BBLONG bbt_id=0;
		struct BBDebugScope_1 __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_LOCAL,
					"id",
					"l",
					.var_address=&bbt_id
				},
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 802, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_id=0LL;
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 803, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bmx_sqlite3_last_insert_rowid(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->_database_core_tdbconnection_handle ,(&bbt_id));
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 804, 0};
		bbOnDebugEnterStm(&__stmt_2);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return bbt_id;
	}
	bbOnDebugLeaveScope();
	return 0LL;
}
BBINT _database_sqlite_TSQLiteResultSet_rowsAffected(struct database_sqlite_TSQLiteResultSet_obj* o){
	((struct database_sqlite_TSQLiteResultSet_obj*)bbNullObjectTest((BBObject*)o));
	struct BBDebugScope_1 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"rowsAffected",
		{
			{
				BBDEBUGDECL_LOCAL,
				"Self",
				":TSQLiteResultSet",
				.var_address=&o
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 809, 0};
	bbOnDebugEnterStm(&__stmt_0);
	((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o));
	if(((struct database_core_TQueryResultSet_obj*)o)->clas->m_isActive((struct database_core_TQueryResultSet_obj*)o)!=0){
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 810, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbOnDebugLeaveScope();
		bbOnDebugLeaveScope();
		return sqlite3_changes(((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)((struct database_core_TQueryResultSet_obj*)bbNullObjectTest((BBObject*)o))->_database_core_tqueryresultset_conn ))->_database_core_tdbconnection_handle );
	}
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 812, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbOnDebugLeaveScope();
	return -1;
}
struct BBDebugScope_16 database_sqlite_TSQLiteResultSet_scope ={
	BBDEBUGSCOPE_USERTYPE,
	"TSQLiteResultSet",
	{
		{
			BBDEBUGDECL_FIELD,
			"initialFetch",
			"i",
			.field_offset=offsetof(struct database_sqlite_TSQLiteResultSet_obj,_database_sqlite_tsqliteresultset_initialfetch)
		},
		{
			BBDEBUGDECL_FIELD,
			"fakeFirstRowFetch",
			"i",
			.field_offset=offsetof(struct database_sqlite_TSQLiteResultSet_obj,_database_sqlite_tsqliteresultset_fakefirstrowfetch)
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"New",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_New
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"free",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_free
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"reset",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_reset
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"Create",
			"(:TDBConnection,$):TQueryResultSet",
			.func_ptr=(BBFuncPtr)&database_sqlite_TSQLiteResultSet_Create_TTQueryResultSet_TTDBConnectionS
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"executeQuery",
			"($)i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_executeQuery_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"cleanup",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_cleanup
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"prepare",
			"($)i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_prepare_S
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"execute",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_execute
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"firstRow",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_firstRow
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"nextRow",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_nextRow
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"initRecord",
			"()",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_initRecord
		},
		{
			BBDEBUGDECL_TYPEFUNCTION,
			"dbTypeFromNative",
			"($,i,i)i",
			.func_ptr=(BBFuncPtr)&database_sqlite_TSQLiteResultSet_dbTypeFromNative_i_Sii
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"lastInsertedId",
			"()l",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_lastInsertedId
		},
		{
			BBDEBUGDECL_TYPEMETHOD,
			"rowsAffected",
			"()i",
			.func_ptr=(BBFuncPtr)&_database_sqlite_TSQLiteResultSet_rowsAffected
		},
		{
			BBDEBUGDECL_END
		}
	}
};
struct BBClass_database_sqlite_TSQLiteResultSet database_sqlite_TSQLiteResultSet={
	&database_core_TQueryResultSet,
	bbObjectFree,
	(BBDebugScope*)&database_sqlite_TSQLiteResultSet_scope,
	sizeof(struct database_sqlite_TSQLiteResultSet_obj),
	(void (*)(BBOBJECT))_database_sqlite_TSQLiteResultSet_New,
	(void (*)(BBOBJECT))_database_sqlite_TSQLiteResultSet_Delete,
	bbObjectToString,
	bbObjectCompare,
	bbObjectSendMessage,
	0,
	0,
	offsetof(struct database_sqlite_TSQLiteResultSet_obj,_database_sqlite_tsqliteresultset_fakefirstrowfetch) - offsetof(struct database_sqlite_TSQLiteResultSet_obj,_database_sqlite_tsqliteresultset_initialfetch) + sizeof(BBINT)
	,0
	,offsetof(struct database_sqlite_TSQLiteResultSet_obj,_database_sqlite_tsqliteresultset_initialfetch)
	,database_sqlite_TSQLiteResultSet_Create_TTQueryResultSet_TTDBConnectionS
	,_database_core_TQueryResultSet_Init_TTDBConnectionS
	,_database_core_TQueryResultSet_clearBindValues
	,_database_core_TQueryResultSet_clear
	,_database_sqlite_TSQLiteResultSet_executeQuery_S
	,_database_sqlite_TSQLiteResultSet_prepare_S
	,_database_sqlite_TSQLiteResultSet_execute
	,_database_sqlite_TSQLiteResultSet_firstRow
	,_database_sqlite_TSQLiteResultSet_nextRow
	,_database_sqlite_TSQLiteResultSet_lastInsertedId
	,_database_sqlite_TSQLiteResultSet_rowsAffected
	,database_sqlite_TSQLiteResultSet_dbTypeFromNative_i_Sii
	,_database_core_TQueryResultSet_rowRecord
	,_database_core_TQueryResultSet_dataValue_i
	,_database_core_TQueryResultSet_rowIndex
	,_database_core_TQueryResultSet_setRowIndex_i
	,_database_core_TQueryResultSet_isActive
	,_database_core_TQueryResultSet_isValid
	,_database_core_TQueryResultSet_resetValues_i
	,_database_core_TQueryResultSet_resetBindCount
	,_database_core_TQueryResultSet_addBindValue_TTDBType
	,_database_core_TQueryResultSet_bindValue_iTTDBType
	,_database_sqlite_TSQLiteResultSet_reset
	,_database_sqlite_TSQLiteResultSet_free
	,_database_sqlite_TSQLiteResultSet_cleanup
	,_database_sqlite_TSQLiteResultSet_initRecord
};

BBINT database_sqlite_loadOrSaveDB(struct database_sqlite_TDBSQLite_obj* bbt_inMemory,BBSTRING bbt_filename,BBINT bbt_isSave,BBSTRING bbt_database){
	struct database_sqlite_TDBSQLite_obj* bbt_db=(struct database_sqlite_TDBSQLite_obj*)((struct database_sqlite_TDBSQLite_obj*)&bbNullObject);
	BBINT bbt_rc=0;
	struct BBDebugScope_6 __scope = {
		BBDEBUGSCOPE_FUNCTION,
		"loadOrSaveDB",
		{
			{
				BBDEBUGDECL_LOCAL,
				"inMemory",
				":TDBSQLite",
				.var_address=&bbt_inMemory
			},
			{
				BBDEBUGDECL_LOCAL,
				"filename",
				"$",
				.var_address=&bbt_filename
			},
			{
				BBDEBUGDECL_LOCAL,
				"isSave",
				"i",
				.var_address=&bbt_isSave
			},
			{
				BBDEBUGDECL_LOCAL,
				"database",
				"$",
				.var_address=&bbt_database
			},
			{
				BBDEBUGDECL_LOCAL,
				"db",
				":TDBSQLite",
				.var_address=&bbt_db
			},
			{
				BBDEBUGDECL_LOCAL,
				"rc",
				"i",
				.var_address=&bbt_rc
			},
			{
				BBDEBUGDECL_END
			}
		}
	};
	bbOnDebugEnterScope((BBDebugScope *)&__scope);
	struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 822, 0};
	bbOnDebugEnterStm(&__stmt_0);
	bbt_db=(struct database_sqlite_TDBSQLite_obj*)((struct database_sqlite_TDBSQLite_obj*)bbObjectDowncast((BBOBJECT)database_sqlite_TDBSQLite_Create_TTDBConnection_SSiSSSS(bbt_filename,(&bbEmptyString),0,(&bbEmptyString),(&bbEmptyString),(&bbEmptyString),(&bbEmptyString)),(BBClass*)&database_sqlite_TDBSQLite));
	struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 824, 0};
	bbOnDebugEnterStm(&__stmt_1);
	bbt_rc=0;
	struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 826, 0};
	bbOnDebugEnterStm(&__stmt_2);
	if(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)bbt_db))->clas->m_isOpen((struct database_core_TDBConnection_obj*)bbt_db)!=0){
		BBBYTE* bbt_toHandle=0;
		BBBYTE* bbt_fromHandle=0;
		BBBYTE* bbt_d=0;
		BBBYTE* bbt_backup=0;
		struct BBDebugScope_4 __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_LOCAL,
					"toHandle",
					"*b",
					.var_address=&bbt_toHandle
				},
				{
					BBDEBUGDECL_LOCAL,
					"fromHandle",
					"*b",
					.var_address=&bbt_fromHandle
				},
				{
					BBDEBUGDECL_LOCAL,
					"d",
					"*b",
					.var_address=&bbt_d
				},
				{
					BBDEBUGDECL_LOCAL,
					"backup",
					"*b",
					.var_address=&bbt_backup
				},
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 827, 0};
		bbOnDebugEnterStm(&__stmt_0);
		bbt_toHandle=0;
		struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 828, 0};
		bbOnDebugEnterStm(&__stmt_1);
		bbt_fromHandle=0;
		struct BBDebugStm __stmt_2 = {0x8a7687fb851c7c9e, 830, 0};
		bbOnDebugEnterStm(&__stmt_2);
		if(bbt_isSave!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 831, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_fromHandle=((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)bbt_inMemory))->_database_core_tdbconnection_handle ;
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 832, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_toHandle=((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)bbt_db))->_database_core_tdbconnection_handle ;
			bbOnDebugLeaveScope();
		}else{
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 834, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_fromHandle=((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)bbt_db))->_database_core_tdbconnection_handle ;
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 835, 0};
			bbOnDebugEnterStm(&__stmt_1);
			bbt_toHandle=((struct database_core_TDBConnection_obj*)bbNullObjectTest((BBObject*)bbt_inMemory))->_database_core_tdbconnection_handle ;
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 838, 0};
		bbOnDebugEnterStm(&__stmt_3);
		bbt_d=bbStringToUTF8String((BBSTRING)bbt_database);
		struct BBDebugStm __stmt_4 = {0x8a7687fb851c7c9e, 839, 0};
		bbOnDebugEnterStm(&__stmt_4);
		bbt_backup=sqlite3_backup_init(bbt_toHandle,bbt_d,bbt_fromHandle,bbt_d);
		struct BBDebugStm __stmt_5 = {0x8a7687fb851c7c9e, 841, 0};
		bbOnDebugEnterStm(&__stmt_5);
		if(bbt_backup){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 842, 0};
			bbOnDebugEnterStm(&__stmt_0);
			sqlite3_backup_step(bbt_backup,-1);
			struct BBDebugStm __stmt_1 = {0x8a7687fb851c7c9e, 843, 0};
			bbOnDebugEnterStm(&__stmt_1);
			sqlite3_backup_finish(bbt_backup);
			bbOnDebugLeaveScope();
		}
		struct BBDebugStm __stmt_6 = {0x8a7687fb851c7c9e, 846, 0};
		bbOnDebugEnterStm(&__stmt_6);
		bbt_rc=sqlite3_errcode(bbt_toHandle);
		struct BBDebugStm __stmt_7 = {0x8a7687fb851c7c9e, 848, 0};
		bbOnDebugEnterStm(&__stmt_7);
		((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)bbt_db))->clas->m_close((struct database_sqlite_TDBSQLite_obj*)bbt_db);
		bbOnDebugLeaveScope();
	}else{
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_LOCALBLOCK,
			0,
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 850, 0};
		bbOnDebugEnterStm(&__stmt_0);
		if(((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)bbt_db))->clas->m_hasError((struct database_core_TDBConnection_obj*)bbt_db)!=0){
			struct BBDebugScope __scope = {
				BBDEBUGSCOPE_LOCALBLOCK,
				0,
				{
					{
						BBDEBUGDECL_END
					}
				}
			};
			bbOnDebugEnterScope((BBDebugScope *)&__scope);
			struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 851, 0};
			bbOnDebugEnterStm(&__stmt_0);
			bbt_rc=((struct database_core_TDatabaseError_obj*)bbNullObjectTest((BBObject*)((struct database_sqlite_TDBSQLite_obj*)bbNullObjectTest((BBObject*)bbt_db))->clas->m_error((struct database_core_TDBConnection_obj*)bbt_db)))->_database_core_tdatabaseerror_errorvalue ;
			bbOnDebugLeaveScope();
		}
		bbOnDebugLeaveScope();
	}
	struct BBDebugStm __stmt_3 = {0x8a7687fb851c7c9e, 855, 0};
	bbOnDebugEnterStm(&__stmt_3);
	bbOnDebugLeaveScope();
	return bbt_rc;
}
static int __bb_database_sqlite_sqlite_inited = 0;
int __bb_database_sqlite_sqlite(){
	if (!__bb_database_sqlite_sqlite_inited) {
		__bb_database_sqlite_sqlite_inited = 1;
		__bb_brl_blitz_blitz();
		__bb_database_core_core();
		_bb_database_sqlite_common();
		bbObjectRegisterType((BBCLASS)&database_sqlite_TSQLiteDatabaseLoader);
		bbObjectRegisterType((BBCLASS)&database_sqlite_TDBSQLite);
		bbObjectRegisterType((BBCLASS)&database_sqlite_TSQLiteResultSet);
		bbRegisterSource(0x8a7687fb851c7c9e, "c:/BlitzmaxNG/mod/database.mod/sqlite.mod/sqlite.bmx");
		struct BBDebugScope __scope = {
			BBDEBUGSCOPE_FUNCTION,
			"sqlite",
			{
				{
					BBDEBUGDECL_END
				}
			}
		};
		bbOnDebugEnterScope((BBDebugScope *)&__scope);
		struct BBDebugStm __stmt_0 = {0x8a7687fb851c7c9e, 875, 0};
		bbOnDebugEnterStm(&__stmt_0);
		database_core_AddDatabaseLoader((struct database_core_TDatabaseLoader_obj*)((struct database_core_TDatabaseLoader_obj*)bbObjectDowncast((BBOBJECT)(struct database_sqlite_TSQLiteDatabaseLoader_obj*)bbObjectNew((BBClass *)&database_sqlite_TSQLiteDatabaseLoader),(BBClass*)&database_core_TDatabaseLoader)));
		bbOnDebugLeaveScope();
		return 0;
	}
	return 0;
}