Browse Source

* Fix bug #35194

git-svn-id: trunk@41612 -
michael 6 years ago
parent
commit
93e3a3e335
1 changed files with 6 additions and 2 deletions
  1. 6 2
      packages/sqlite/tests/testapiv3x.pp

+ 6 - 2
packages/sqlite/tests/testapiv3x.pp

@@ -10,7 +10,7 @@ const
 
 var
  rc       : Integer;
- db       : PPsqlite3;
+ db       : Psqlite3;
  sql      : string;
  pzErrMsg : PChar;
  
@@ -77,7 +77,11 @@ begin
    then writeln(Format('SQL error: %s', [pzErrMsg^]));
   finally sqlite3_close(db); end;
 
-  sleep(5000);
+{$ifdef Windows}
+  writeln('Hit enter to exit');
+  Readln;
+{$endif}
+
 end.