Diff of /incubator/ooSQLite/examples/printTableWithNulls.rex [r9133] .. [r9134]  Maximize  Restore

Switch to side-by-side view

--- a/incubator/ooSQLite/examples/printTableWithNulls.rex
+++ b/incubator/ooSQLite/examples/printTableWithNulls.rex
@@ -81,6 +81,7 @@
   say '='~copies(80)
 
   -- In this approach a NULL in a column will be printed as NULL
+  stmt~null = 'NULL'
   do while stmt~step == stmt~ROW
     row = ''
     do i = 1 to n
@@ -100,7 +101,8 @@
   say header
   say '='~copies(80)
 
-  -- In this approach a NULL is the table will be set to the .nil object.
+  -- In this approach a NULL in the table will be set to the .nil object.
+  stmt~null = .nil
   do while stmt~step == stmt~ROW
     row = ''
 

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks