mirror of
https://github.com/acanas/swad-core.git
synced 2024-05-28 20:43:27 +02:00
Version19.209.1
This commit is contained in:
parent
2bfc915e08
commit
5a013f2ab3
|
@ -544,14 +544,15 @@ enscript -2 --landscape --color --file-align=2 --highlight --line-numbers -o - *
|
||||||
En OpenSWAD:
|
En OpenSWAD:
|
||||||
ps2pdf source.ps destination.pdf
|
ps2pdf source.ps destination.pdf
|
||||||
*/
|
*/
|
||||||
#define Log_PLATFORM_VERSION "SWAD 19.209 (2020-05-01)"
|
#define Log_PLATFORM_VERSION "SWAD 19.209.1 (2020-05-01)"
|
||||||
#define CSS_FILE "swad19.193.1.css"
|
#define CSS_FILE "swad19.193.1.css"
|
||||||
#define JS_FILE "swad19.193.1.js"
|
#define JS_FILE "swad19.193.1.js"
|
||||||
/*
|
/*
|
||||||
|
Version 19.209.1: May 01, 2020 Fixed bug in figures cached. (? lines)
|
||||||
Version 19.209: May 01, 2020 More figures cached. (300734 lines)
|
Version 19.209: May 01, 2020 More figures cached. (300734 lines)
|
||||||
3 changes necessary in database:
|
3 changes necessary in database:
|
||||||
ALTER TABLE figures CHANGE COLUMN Value ValueInt INT NOT NULL DEFAULT 0;
|
ALTER TABLE figures CHANGE COLUMN Value ValueInt INT NOT NULL DEFAULT 0;
|
||||||
ALTER TABLE figures ADD COLUMN ValueDouble DOUBLE PRECISION NOT NULL DEFAULT 0.0 AFTER ValueInt;
|
ALTER TABLE figures ADD COLUMN ValueDouble DOUBLE PRECISION NOT NULL DEFAULT 0 AFTER ValueInt;
|
||||||
DELETE FROM figures;
|
DELETE FROM figures;
|
||||||
|
|
||||||
Version 19.208.1: May 01, 2020 Fixed bug in cache of figures. (300599 lines)
|
Version 19.208.1: May 01, 2020 Fixed bug in cache of figures. (300599 lines)
|
||||||
|
|
|
@ -76,18 +76,18 @@ void FigCch_UpdateFigureIntoCache (FigCch_FigureCached_t Figure,
|
||||||
case FigCch_Type_UNSIGNED:
|
case FigCch_Type_UNSIGNED:
|
||||||
DB_QueryREPLACE ("can not update cached figure value",
|
DB_QueryREPLACE ("can not update cached figure value",
|
||||||
"REPLACE INTO figures"
|
"REPLACE INTO figures"
|
||||||
" (Figure,Scope,Cod,ValueInt)"
|
" (Figure,Scope,Cod,ValueInt,ValueDouble)"
|
||||||
" VALUES"
|
" VALUES"
|
||||||
" (%u,'%s',%ld,%u)",
|
" (%u,'%s',%ld,%u,'0.0')",
|
||||||
(unsigned) Figure,Sco_GetDBStrFromScope (Scope),Cod,
|
(unsigned) Figure,Sco_GetDBStrFromScope (Scope),Cod,
|
||||||
*((unsigned *) ValuePtr));
|
*((unsigned *) ValuePtr));
|
||||||
break;
|
break;
|
||||||
case FigCch_Type_DOUBLE:
|
case FigCch_Type_DOUBLE:
|
||||||
DB_QueryREPLACE ("can not update cached figure value",
|
DB_QueryREPLACE ("can not update cached figure value",
|
||||||
"REPLACE INTO figures"
|
"REPLACE INTO figures"
|
||||||
" (Figure,Scope,Cod,ValueDouble)"
|
" (Figure,Scope,Cod,ValueInt,ValueDouble)"
|
||||||
" VALUES"
|
" VALUES"
|
||||||
" (%u,'%s',%ld,%.15lg)",
|
" (%u,'%s',%ld,0,'%.15lg')",
|
||||||
(unsigned) Figure,Sco_GetDBStrFromScope (Scope),Cod,
|
(unsigned) Figure,Sco_GetDBStrFromScope (Scope),Cod,
|
||||||
*((double *) ValuePtr));
|
*((double *) ValuePtr));
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user