1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-29 08:01:23 +03:00

Reorder parameters on the sqlite3_user_*() interfaces for consistency.

Add the first TCL test cases.

FossilOrigin-Name: 2f6d8f32eef526b5912f42ab467e3c7812480d8b
This commit is contained in:
drh
2014-09-11 00:27:53 +00:00
parent 09e60541ae
commit d39c40ff5e
8 changed files with 257 additions and 43 deletions

View File

@ -36,8 +36,8 @@
int sqlite3_user_authenticate(
sqlite3 *db, /* The database connection */
const char *zUsername, /* Username */
int nPW, /* Number of bytes in aPW[] */
const char *aPW /* Password or credentials */
const char *aPW, /* Password or credentials */
int nPW /* Number of bytes in aPW[] */
);
/*
@ -53,9 +53,9 @@ int sqlite3_user_authenticate(
int sqlite3_user_add(
sqlite3 *db, /* Database connection */
const char *zUsername, /* Username to be added */
int isAdmin, /* True to give new user admin privilege */
const char *aPW, /* Password or credentials */
int nPW, /* Number of bytes in aPW[] */
const char *aPW /* Password or credentials */
int isAdmin /* True to give new user admin privilege */
);
/*
@ -68,9 +68,9 @@ int sqlite3_user_add(
int sqlite3_user_change(
sqlite3 *db, /* Database connection */
const char *zUsername, /* Username to change */
int isAdmin, /* Modified admin privilege for the user */
const char *aPW, /* New password or credentials */
int nPW, /* Number of bytes in aPW[] */
const char *aPW /* Modified password or credentials */
int isAdmin /* Modified admin privilege for the user */
);
/*