mirror of https://github.com/acanas/swad-core.git
Version 18.9.8
This commit is contained in:
parent
163ea4e117
commit
de558876f2
|
@ -355,10 +355,11 @@ En OpenSWAD:
|
|||
ps2pdf source.ps destination.pdf
|
||||
*/
|
||||
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.9.7 (2018-10-29)"
|
||||
#define Log_PLATFORM_VERSION "SWAD 18.9.8 (2018-10-30)"
|
||||
#define CSS_FILE "swad18.4.css"
|
||||
#define JS_FILE "swad17.17.1.js"
|
||||
/*
|
||||
Version 18.9.8: Oct 30, 2018 Cleaning unused functions. (235694 lines)
|
||||
Version 18.9.7: Oct 29, 2018 Some sprintf for database queries changed by internal function. (235705 lines)
|
||||
Version 18.9.6: Oct 29, 2018 Some sprintf for database queries changed by internal function.
|
||||
Internal changes in messages. (235787 lines)
|
||||
|
|
|
@ -3128,20 +3128,6 @@ unsigned long DB_QuerySELECT_new (MYSQL_RES **mysql_res,const char *MsgError)
|
|||
return (unsigned long) mysql_num_rows (*mysql_res);
|
||||
}
|
||||
|
||||
unsigned long DB_QuerySELECT (const char *Query,MYSQL_RES **mysql_res,const char *MsgError)
|
||||
{
|
||||
/***** Query database *****/
|
||||
if (mysql_query (&Gbl.mysql,Query))
|
||||
DB_ExitOnMySQLError (MsgError);
|
||||
|
||||
/***** Store query result *****/
|
||||
if ((*mysql_res = mysql_store_result (&Gbl.mysql)) == NULL)
|
||||
DB_ExitOnMySQLError (MsgError);
|
||||
|
||||
/***** Return number of rows of result *****/
|
||||
return (unsigned long) mysql_num_rows (*mysql_res);
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**************** Make a SELECT COUNT query from database ********************/
|
||||
/*****************************************************************************/
|
||||
|
|
|
@ -40,7 +40,6 @@ void DB_CloseDBConnection (void);
|
|||
void DB_BuildQuery (const char *fmt,...);
|
||||
|
||||
unsigned long DB_QuerySELECT_new (MYSQL_RES **mysql_res,const char *MsgError);
|
||||
unsigned long DB_QuerySELECT (const char *Query,MYSQL_RES **mysql_res,const char *MsgError);
|
||||
|
||||
unsigned long DB_QueryCOUNT_new (const char *MsgError);
|
||||
|
||||
|
|
Loading…
Reference in New Issue