updated revision numbers
This commit is contained in:
parent
b630ffe28f
commit
36241e2905
|
@ -1,8 +1,8 @@
|
|||
#ifndef _INCLUDE_SVN_VERSION_H_
|
||||
#define _INCLUDE_SVN_VERSION_H_
|
||||
|
||||
#define SVN_VERSION_STRING "1.8.0.3398"
|
||||
#define SVN_VERSION_DWORD 1,8,0,3398
|
||||
#define SVN_VERSION_STRING "1.8.0.3648"
|
||||
#define SVN_VERSION_DWORD 1,8,0,3648
|
||||
#define SVN_VERSION_PRODUCT "1.8.0"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3047"
|
||||
#define SVN_VERSION "1.8.0.3635"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3186"
|
||||
#define SVN_VERSION "1.8.0.3550"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3392"
|
||||
#define SVN_VERSION "1.8.0.3587"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3405"
|
||||
#define SVN_VERSION "1.8.0.3538"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3397"
|
||||
#define SVN_VERSION "1.8.0.3486"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3377"
|
||||
#define SVN_VERSION "1.8.0.3641"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.2989"
|
||||
#define SVN_VERSION "1.8.0.3466"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3043"
|
||||
#define SVN_VERSION "1.8.0.3552"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3377"
|
||||
#define SVN_VERSION "1.8.0.3582"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3135"
|
||||
#define SVN_VERSION "1.8.0.3645"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3377"
|
||||
#define SVN_VERSION "1.8.0.3591"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3186"
|
||||
#define SVN_VERSION "1.8.0.3466"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.2989"
|
||||
#define SVN_VERSION "1.8.0.3564"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.2989"
|
||||
#define SVN_VERSION "1.8.0.3467"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3135"
|
||||
#define SVN_VERSION "1.8.0.3647"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.3392"
|
||||
#define SVN_VERSION "1.8.0.3551"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.2989"
|
||||
#define SVN_VERSION "1.8.0.3466"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -4,6 +4,6 @@
|
|||
/** This file is auto-generated by build scripts. Do not edit it unless you know what you're doing. */
|
||||
/** Do not commit the generated .h file, as it will only mess up SVN revision numbers. */
|
||||
|
||||
#define SVN_VERSION "1.8.0.2989"
|
||||
#define SVN_VERSION "1.8.0.3538"
|
||||
|
||||
#endif //_INCLUDE_SVN_VERSION_H_
|
||||
|
|
|
@ -13,4 +13,4 @@
|
|||
|
||||
#define AMXX_VERSION 1.80
|
||||
#define AMXX_VERSION_NUM 180
|
||||
stock const AMXX_VERSION_STR[] = "1.8.0.3398";
|
||||
stock const AMXX_VERSION_STR[] = "1.8.0.3648";
|
||||
|
|
|
@ -12,11 +12,13 @@ public plugin_init()
|
|||
register_plugin("SQLX Test", "1.0", "BAILOPAN")
|
||||
register_srvcmd("sqlx_test_normal", "SqlxTest_Normal")
|
||||
register_srvcmd("sqlx_test_thread", "SqlxTest_Thread")
|
||||
register_srvcmd("sqlx_test_proc", "SqlxTest_Proc")
|
||||
register_srvcmd("sqlx_test_old1", "SqlxTest_Old1")
|
||||
register_srvcmd("sqlx_test_old2", "SqlxTest_Old2")
|
||||
register_srvcmd("sqlx_test_thread_end", "SqlxTest_ThreadEnd")
|
||||
register_srvcmd("sqlx_test_bad", "SqlxTest_Bad")
|
||||
register_srvcmd("sqlx_test_quote", "SqlxTest_Quote")
|
||||
register_srvcmd("sqlx_test_affinity", "SqlxTest_Affinity")
|
||||
|
||||
new configsDir[64]
|
||||
get_configsdir(configsDir, 63)
|
||||
|
@ -146,6 +148,16 @@ public GetMyStuff(failstate, Handle:query, error[], errnum, data[], size, Float:
|
|||
}
|
||||
}
|
||||
|
||||
public SqlxTest_Affinity()
|
||||
{
|
||||
server_print("[Access Manager] try SetAffinity to sqlite");
|
||||
SQL_SetAffinity("sqlite");
|
||||
server_print("[Access Manager] try SetAffinity to mysql");
|
||||
SQL_SetAffinity("mysql");
|
||||
server_print("[Access Manager] try SetAffinity to sqlite again");
|
||||
SQL_SetAffinity("sqlite");
|
||||
}
|
||||
|
||||
/**
|
||||
* Starts a threaded query.
|
||||
*/
|
||||
|
@ -189,6 +201,39 @@ public SqlxTest_Quote()
|
|||
SQL_FreeHandle(db)
|
||||
}
|
||||
|
||||
public SqlxTest_Proc()
|
||||
{
|
||||
new errnum, error[255]
|
||||
|
||||
DoBasicInfo(1)
|
||||
|
||||
new Handle:db = SQL_Connect(g_DbInfo, errnum, error, 254)
|
||||
if (!db)
|
||||
{
|
||||
server_print("Query failure: [%d] %s", errnum, error)
|
||||
return
|
||||
}
|
||||
|
||||
new Handle:query = SQL_PrepareQuery(db, "CALL ExampleProc()")
|
||||
if (!SQL_Execute(query))
|
||||
{
|
||||
errnum = SQL_QueryError(query, error, 254)
|
||||
server_print("Query failure: [%d] %s", errnum, error)
|
||||
SQL_FreeHandle(query)
|
||||
SQL_FreeHandle(db)
|
||||
return
|
||||
}
|
||||
|
||||
PrintQueryData(query)
|
||||
|
||||
server_print("Next result: %d", SQL_NextResultSet(query));
|
||||
|
||||
PrintQueryData(query)
|
||||
|
||||
SQL_FreeHandle(query)
|
||||
SQL_FreeHandle(db)
|
||||
}
|
||||
|
||||
/**
|
||||
* Does a normal query.
|
||||
*/
|
||||
|
@ -217,6 +262,8 @@ public SqlxTest_Normal()
|
|||
|
||||
PrintQueryData(query)
|
||||
|
||||
server_print("Next result: %d", SQL_NextResultSet(query));
|
||||
|
||||
SQL_FreeHandle(query)
|
||||
SQL_FreeHandle(db)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user