Skip to content

Commit

Permalink
Fixed: Log runtime error crashing SQL index creation
Browse files Browse the repository at this point in the history
  • Loading branch information
dvdvideo1234 committed Jul 1, 2024
1 parent 9eea58e commit 88a01e9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/autorun/trackassembly_init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ local asmlib = trackasmlib; if(not asmlib) then -- Module present
------------ CONFIGURE ASMLIB ------------

asmlib.InitBase("track","assembly")
asmlib.SetOpVar("TOOL_VERSION","8.787")
asmlib.SetOpVar("TOOL_VERSION","8.789")

------------ CONFIGURE GLOBAL INIT OPVARS ------------

Expand Down
2 changes: 1 addition & 1 deletion lua/trackassembly/trackasmlib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -2824,7 +2824,7 @@ function CreateTable(sTable,defTab,bDelete,bReload)
while(vI[iCnt]) do local vF = tonumber(vI[iCnt]); if(not vF) then
LogInstance("Mismatch value ["..tostring(vI[iCnt]).."] NaN for ID ["..tostring(iInd).."]["..tostring(iCnt).."]",tabDef.Nick); return nil end
if(not qtDef[vF]) then
LogInstance("Mismatch. The col ID #"..tostring(vF).." missing, max is #"..Table.Size,tabDef.Nick); return nil end
LogInstance("Mismatch. The col ID #"..tostring(vF).." missing, max is #"..tabDef.Size,tabDef.Nick); return nil end
cU, cC = (cU.."_" ..(qtDef[vF][1]):upper()), (cC..(qtDef[vF][1]):upper()); vI[iCnt] = vF
iCnt = iCnt + 1; if(vI[iCnt]) then cC = cC ..", " end
end
Expand Down

0 comments on commit 88a01e9

Please sign in to comment.