mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-04-09 18:08:35 +02:00
* Cosmetic: Examples: TSqlScript: reflect FPC situation in readme.
git-svn-id: trunk@46032 -
This commit is contained in:
parent
adb4858156
commit
7f76272dd0
@ -8,7 +8,8 @@ It is provided by FPC's SQLDB database layer and available in Lazarus.
|
||||
|
||||
Notes:
|
||||
- You must/should have created an empty database on your server/embedded database system first. The scripts will try to create tables and insert sample data. You can also load your own SQL script or paste it in the memo.
|
||||
- FPC 2.6.x versions currently have a bug that prevents running statements with : in them (e.g. Firebird stored procedure creation). FPC trunk/development version revision 26112 has fixed this, and it may be backported to 2.6.x; please check release notes and documentation.
|
||||
- FPC 2.6.x versions currently have a bug that prevents running statements with : in them (e.g. Firebird stored procedure creation). FPC trunk/development version revision 26112 has fixed this..
|
||||
- All TSQLScript versions (at least up to August 2014) suffer from a bug where comments in Firebird stored procedure and trigger creation scripts cause the script to fail (see http://bugs.freepascal.org/view.php?id=26571). A workaround is to set .CommentsInSQL to false (as is done in the demo) which strips out the comments.
|
||||
- Firebird DDL (e.g. table creation) and DML (e.g. inserting data) must be separated by a COMMIT. This may also apply to other databases. FPC bug 17829 tracks this, but FPC 2.6.x or trunk currently contains no fix.
|
||||
A workaround is to split the script into 2, see the sample program.
|
||||
- The logon form is taken from SQLdb_Tutorial3.
|
||||
|
Loading…
Reference in New Issue
Block a user