Commit 5b43f13579fba5e96f781b1b82c8b4f2ff6427ad

Authored by David RENÉ
1 parent a2e3f8ec

[!] replace "NULL" string by an empty string in conversion of DB_datetime

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
database/db_types.anubis
... ... @@ -34,7 +34,7 @@ public define Int -> DB_id
34 34 if row(i) is integer(n) then db_id(n)
35 35 else if row(i) is null then none
36 36 else if row(i) is text(txt) then
37   - println("db_id_or_null text "+txt);
  37 + //println("db_id_or_null text "+txt);
38 38 if decimal_scan(txt) is success(val) then
39 39 db_id(val)
40 40 else
... ... @@ -307,7 +307,7 @@ public define String
307 307 (
308 308 DB_datetime dt
309 309 )=
310   - datetime(dt).
  310 + datetime_not_null(dt, "").
311 311  
312 312 public define String
313 313 String s + DB_datetime dt =
... ...