8
0
mirror of https://github.com/FirebirdSQL/firebird.git synced 2025-01-27 05:23:02 +01:00
Commit Graph

252 Commits

Author SHA1 Message Date
alexpeshkoff
1785fb6ee3 fixing CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid
finished cleanup of vararg in error diagnostics in DSQL
2008-08-15 11:21:47 +00:00
alexpeshkoff
a2e416210b Fixed CORE-1964: Use of 0 instead of isc_arg_end to terminate list of ERR_post's (and cousines) arguments is invalid.
Also cleaned up use of gds__log() in a few places.
2008-06-26 09:47:59 +00:00
asfernandes
552f58dd48 Misc 2008-06-06 02:25:35 +00:00
robocop
b8ea332022 Misc. 2008-06-05 11:02:42 +00:00
asfernandes
84603f1169 Misc 2008-05-25 01:39:16 +00:00
asfernandes
d4bf9ab246 Split dsql_req into dsql_req and CompiledStatement. This should be my last refactoring to 2.5:
- dsql_req becomes a running request;
- CompiledStatement is derived from dsql_req. The compilation state previously in dsql_req comes to here;
- Rename many "request" parameters to "statement" where type is changed from dsql_req to CompiledStatement.
This changes makes easy the path to support compiled statement cache.
2008-05-24 03:19:52 +00:00
asfernandes
e469bd562a Cleanup on the "proc_flag" logic: store it on the request and changes when necessary. 2008-05-17 16:51:07 +00:00
dimitr
6fbb76c115 Fixed the crash reported privately by Bill Oliver. 2008-04-30 17:45:46 +00:00
robocop
83d3ddd6cb Replace custom code by helper class ThreadStatusGuard. 2008-04-26 10:29:52 +00:00
asfernandes
d75951e8e5 Misc 2008-04-18 01:37:44 +00:00
asfernandes
a7a7e18220 Fixed the bug reported by Claudio - crash when getting plan of DDL requests 2008-04-16 15:28:16 +00:00
asfernandes
77e97a47c0 Feature requests CORE-1737 and CORE-1803:
1) ALTER CHARACTER SET <charset> SET DEFAULT COLLATION <collation>
2) CREATE DATABASE ... [ DEFAULT CHARACTER SET <charset> [ COLLATION <collation> ] ]
2008-04-15 02:18:38 +00:00
robocop
7c4114a7d6 It's harder to fix the assertion than to verify the code. 2008-04-08 06:26:34 +00:00
asfernandes
bc3a7f965d Comment the new assertions as it's being false when using parameters in isql (UPDATE UserGroup SET ACL = ?) - to be reviewed by Claudio 2008-04-04 00:51:50 +00:00
robocop
49ad645051 A half-backed solution to the const conflict problem. I hope the cure is at least slightly better than the disease. 2008-03-30 09:44:02 +00:00
asfernandes
a6f5327cc8 Fixed EXECUTE STATEMENT returning BLOBs 2008-03-14 15:29:23 +00:00
asfernandes
c7ec88bee4 1) Created classes PreparedStatement and ResultSet
2) Changed EXECUTE STATEMENT to use these classes
3) Fixed CORE-1784 - Error with EXECUTE PROCEDURE inside EXECUTE STATEMENT
2008-03-13 16:37:20 +00:00
dimitr
ff090e6a7b Cleanup. 2008-03-12 16:42:51 +00:00
robocop
2da08d1afc Cleanup. 2008-03-10 09:32:43 +00:00
robocop
dadefcb479 Binary things are UCHAR. Let's try to fix them from the innermost layer to the outermost layer until we can fix the public interfaces. 2008-03-10 09:31:40 +00:00
asfernandes
74d8711856 Misc 2008-03-08 21:20:26 +00:00
asfernandes
0b6ecafe1b 1) Remove REPLAY_OSRI_API_CALLS_SUBSYSTEM code
2) Remove internal y-valve function INTERNAL_COMPILE_REQUEST
3) Go direct to engine internals from DSQL, without need to exit/enter the attachment lock and check exceptions in status vector
2008-03-07 15:23:21 +00:00
robocop
8888ecb544 Let's better use UCHAR for binary streams. 2008-03-04 06:03:34 +00:00
dimitr
c4fbdeddd7 Cleanup. 2008-03-03 14:38:32 +00:00
asfernandes
88b6f39f82 1) Restore logic of not handled exceptions
2) Initialize some status vectors
2008-03-03 00:47:04 +00:00
asfernandes
7a2dedaa39 Go direct to engine internals from DSQL, without need to exit/enter the attachment lock - more to follow 2008-03-02 21:16:16 +00:00
robocop
b0d1494539 Cleanup and warning. 2008-03-02 08:40:09 +00:00
asfernandes
2e8bd421dc Cleanup: do not replicate attachment charset info in DSQL 2008-03-01 19:32:16 +00:00
asfernandes
f49017d2ff Misc 2008-03-01 15:08:11 +00:00
dimitr
45dcb94dab 1) Fixed the crash reported by Alex.
2) Cleanup.
2008-02-28 18:16:42 +00:00
dimitr
99caa91b85 DSQL integration into the engine. 2008-02-28 13:48:16 +00:00
asfernandes
e4303be920 Fix GCC build 2008-02-27 00:09:50 +00:00
dimitr
c7db4d6a64 Get rid of DsqlMemoryPool. 2008-02-20 15:24:21 +00:00
asfernandes
1ce834c8dc Misc 2008-02-14 01:31:15 +00:00
robocop
10d74a7642 Style. 2008-02-13 12:57:04 +00:00
dimitr
f5dce94470 Front-ported the DSQL_unprepare feature from Vulcan. 2008-02-12 17:21:05 +00:00
asfernandes
6dd361603f Misc 2008-02-04 17:01:36 +00:00
dimitr
b4db26c7d7 Cleanup and refactoring. 2008-02-04 12:45:00 +00:00
asfernandes
607ef7d9fa Encapsulate the parser and make it thread safe 2008-02-03 19:16:12 +00:00
robocop
fbdc3dbb2b Style, constness and macro cleanup. 2008-02-03 11:20:48 +00:00
asfernandes
b39ac40c9d Misc 2008-02-03 02:32:39 +00:00
dimitr
36ef0f6fc9 Misc. 2008-02-02 23:48:48 +00:00
alexpeshkoff
8bdc06af57 Do not hold mutex more then needed 2008-02-02 17:42:32 +00:00
dimitr
bacf986c78 Fix for an issue spotted by Claudio in fb-devel. 2008-02-02 12:21:48 +00:00
asfernandes
ed51d0728b DSQL sync. changes 2008-02-01 20:18:11 +00:00
dimitr
132176a475 Major synchronization changes. Description of the commit will be posted to fb-devel. 2008-01-26 12:52:51 +00:00
alexpeshkoff
39896cb955 Fixed CORE-1671: atexit() calls in client libraries cause segfaults
and CORE-1079: Every attach of fbclient/fbembed library leaks 64KB of memory

To do it:
- created new template GlobalPtr, controlling access to destructors of global objects.
- applied it to global objects.

Also some related cleanup.
2008-01-23 15:52:40 +00:00
dimitr
eac5ac337b The merge continued. 2008-01-16 06:52:43 +00:00
hvlad
2b47bbe55b Revert files back after wrong commit 2007-11-19 00:21:18 +00:00
hvlad
86f1141328 Execute statement with support of external data source 2007-11-18 22:59:20 +00:00