Commit 9cd9d1ea by Daniel Barker

v0.9.5.0

Includes updated SQL query for live database with a WHERE clause
parent a4cdc23f
...@@ -30,7 +30,7 @@ type ...@@ -30,7 +30,7 @@ type
timeEntriesStartDate: string; timeEntriesStartDate: string;
timeEntriesEndDate: string; timeEntriesEndDate: string;
timeEntriesKeptIds: string; timeEntriesKeptIds: string;
const clientVersion = '0.9.4.4'; const clientVersion = '0.9.5.0';
procedure InitApp(SuccessProc: TSuccessProc; procedure InitApp(SuccessProc: TSuccessProc;
UnauthorizedAccessProc: TUnauthorizedAccessProc); UnauthorizedAccessProc: TUnauthorizedAccessProc);
procedure SetClientConfig(Callback: TVersionCheckCallback); procedure SetClientConfig(Callback: TVersionCheckCallback);
......
...@@ -94,13 +94,13 @@ ...@@ -94,13 +94,13 @@
<DCC_RemoteDebug>false</DCC_RemoteDebug> <DCC_RemoteDebug>false</DCC_RemoteDebug>
<VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo> <VerInfo_IncludeVerInfo>true</VerInfo_IncludeVerInfo>
<VerInfo_Locale>1033</VerInfo_Locale> <VerInfo_Locale>1033</VerInfo_Locale>
<VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=0.9.4.4;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=0.9.8.0;Comments=;LastCompiledTime=2018/08/27 15:18:29</VerInfo_Keys> <VerInfo_Keys>CompanyName=;FileDescription=$(MSBuildProjectName);FileVersion=0.9.5.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=0.9.8.0;Comments=;LastCompiledTime=2018/08/27 15:18:29</VerInfo_Keys>
<AppDPIAwarenessMode>PerMonitor</AppDPIAwarenessMode> <AppDPIAwarenessMode>PerMonitor</AppDPIAwarenessMode>
<VerInfo_MajorVer>0</VerInfo_MajorVer> <VerInfo_MajorVer>0</VerInfo_MajorVer>
<VerInfo_MinorVer>9</VerInfo_MinorVer> <VerInfo_MinorVer>9</VerInfo_MinorVer>
<VerInfo_Release>4</VerInfo_Release> <VerInfo_Release>5</VerInfo_Release>
<TMSWebSingleInstance>1</TMSWebSingleInstance> <TMSWebSingleInstance>1</TMSWebSingleInstance>
<VerInfo_Build>4</VerInfo_Build> <VerInfo_Build>0</VerInfo_Build>
<TMSWebOutputPath>..\emT3XDataServer\bin\static</TMSWebOutputPath> <TMSWebOutputPath>..\emT3XDataServer\bin\static</TMSWebOutputPath>
<TMSUseJSDebugger>2</TMSUseJSDebugger> <TMSUseJSDebugger>2</TMSUseJSDebugger>
<TMSWebBrowser>1</TMSWebBrowser> <TMSWebBrowser>1</TMSWebBrowser>
......
[Settings] [Settings]
MemoLogLevel=5 MemoLogLevel=5
FileLogLevel=5 FileLogLevel=5
webClientVersion=0.9.4.4 webClientVersion=0.9.5.0
LogFileNum=269 LogFileNum=270
[Database] [Database]
--Server=192.168.102.131 --Server=192.168.102.131
......
...@@ -114,12 +114,12 @@ ...@@ -114,12 +114,12 @@
<VerInfo_Locale>1033</VerInfo_Locale> <VerInfo_Locale>1033</VerInfo_Locale>
<DCC_ExeOutput>.\bin</DCC_ExeOutput> <DCC_ExeOutput>.\bin</DCC_ExeOutput>
<DCC_UnitSearchPath>C:\RADTOOLS\FastMM4;$(DCC_UnitSearchPath)</DCC_UnitSearchPath> <DCC_UnitSearchPath>C:\RADTOOLS\FastMM4;$(DCC_UnitSearchPath)</DCC_UnitSearchPath>
<VerInfo_Keys>CompanyName=EM Systems;FileDescription=$(MSBuildProjectName);FileVersion=0.9.4.4;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=0.9.11;Comments=</VerInfo_Keys> <VerInfo_Keys>CompanyName=EM Systems;FileDescription=$(MSBuildProjectName);FileVersion=0.9.5.0;InternalName=;LegalCopyright=;LegalTrademarks=;OriginalFilename=;ProgramID=com.embarcadero.$(MSBuildProjectName);ProductName=$(MSBuildProjectName);ProductVersion=0.9.11;Comments=</VerInfo_Keys>
<VerInfo_MajorVer>0</VerInfo_MajorVer> <VerInfo_MajorVer>0</VerInfo_MajorVer>
<VerInfo_MinorVer>9</VerInfo_MinorVer> <VerInfo_MinorVer>9</VerInfo_MinorVer>
<VerInfo_AutoIncVersion>false</VerInfo_AutoIncVersion> <VerInfo_AutoIncVersion>false</VerInfo_AutoIncVersion>
<VerInfo_Build>4</VerInfo_Build> <VerInfo_Build>0</VerInfo_Build>
<VerInfo_Release>4</VerInfo_Release> <VerInfo_Release>5</VerInfo_Release>
</PropertyGroup> </PropertyGroup>
<PropertyGroup Condition="'$(Cfg_1_Win64)'!=''"> <PropertyGroup Condition="'$(Cfg_1_Win64)'!=''">
<AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode> <AppDPIAwarenessMode>PerMonitorV2</AppDPIAwarenessMode>
......
...@@ -35,12 +35,14 @@ INSERT IGNORE INTO codes (CATEGORY, CODE_TYPE, CODE, CODE_DESC, CREATE_DATE) VAL ...@@ -35,12 +35,14 @@ INSERT IGNORE INTO codes (CATEGORY, CODE_TYPE, CODE, CODE_DESC, CREATE_DATE) VAL
('TASK', 'STATUS2', 'PP', 'Possibly a Problem', NOW()); ('TASK', 'STATUS2', 'PP', 'Possibly a Problem', NOW());
-- 4. Convert existing Testing Status descriptions to their codes -- 4. Convert existing Testing Status descriptions to their codes
-- Only rows whose STATUS matches a STATUS2 description change. The filter is in
-- WHERE (not just the JOIN) so HeidiSQL doesn't flag it as an unsafe UPDATE.
UPDATE task_items ti UPDATE task_items ti
JOIN codes c JOIN codes c
ON c.CATEGORY = 'TASK' ON c.CODE_DESC = TRIM(ti.STATUS)
AND c.CODE_TYPE = 'STATUS2' SET ti.STATUS = c.CODE
AND c.CODE_DESC = TRIM(ti.STATUS) WHERE c.CATEGORY = 'TASK'
SET ti.STATUS = c.CODE; AND c.CODE_TYPE = 'STATUS2';
-- 5. Checks -- 5. Checks
-- a) Testing Status values that still aren't a code (should return no rows) -- a) Testing Status values that still aren't a code (should return no rows)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment