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

1137 Commits

Author SHA1 Message Date
robocop
4acad057dc Give explicit names to vars that save state for later restoration. 2008-05-25 11:44:11 +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
71bd20b209 Fixed CORE-1910 - Not valid fields in MERGE's insert clause are allowed 2008-05-23 01:37:19 +00:00
asfernandes
bdf999ddef Slight more correct usage of scope level in MERGE 2008-05-23 00:38:06 +00:00
asfernandes
36e7ddd38c Corrections 2008-05-22 23:19:09 +00:00
asfernandes
9fc4a1881f Misc 2008-05-22 21:45:22 +00:00
robocop
5cd11867ec Get rid of (ALLOC/FREE)_LIB_MEMORY macro as requested by Dmitry. 2008-05-22 09:38:21 +00:00
asfernandes
ffe554acc1 Misc 2008-05-21 16:04:10 +00:00
asfernandes
d84c1c1d2f Misc 2008-05-21 16:02:25 +00:00
asfernandes
725a100324 Correction - thanks to Claudio 2008-05-21 15:22:22 +00:00
robocop
83f77468a0 Misc. 2008-05-21 13:00:37 +00:00
robocop
66aab208b0 Simplification. 2008-05-21 12:52:29 +00:00
robocop
ff1d4c61cf Misc. 2008-05-21 12:41:58 +00:00
asfernandes
900c4ff7d3 Misc 2008-05-20 00:58:14 +00:00
asfernandes
d52dc96278 1) Move the new Node classes to appropriate files
2) Creation of StmtNode
3) Conversion of IN AUTONOMOUS TRANSACTION to InAutonomousTransactionNode (inherited from StmtNode) - it makes this feature almost self-contained

Please do a boot build or at least run blr_table.
2008-05-19 13:47:48 +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
asfernandes
7072385162 Typo 2008-05-15 16:02:33 +00:00
asfernandes
6c7170463a Follow the standard and do not allow binary strings with odd number of characters 2008-05-15 15:27:43 +00:00
hvlad
0d27b88752 Commented out never reduced rule. 2008-05-15 11:43:56 +00:00
alexpeshkoff
27a97e2a6a 1. Modified syntax of ALTER ROLE command according to Dmitry's request.
2. Avoid any use of predefined NT group name "Domain Admins".
3. Fixed DYN code generation for USER operations.

                     ***** WARNING *****
After this commit all previous backups of 2.5 databases with turned on
admins mapping become unrestorable. ODS is not changed.
2008-05-14 11:24:45 +00:00
asfernandes
7d34ead84e 1) Allow to reference others fields in the expression of ALTER...COMPUTED
2) Documentation
2008-05-11 20:05:12 +00:00
robocop
e44a99f339 Style and minor cleanup. 2008-05-10 03:44:57 +00:00
asfernandes
90b3b08ca0 Fixed the problematic assert 2008-05-06 15:20:18 +00:00
asfernandes
ac1cfe49a8 Remove a lot of warnings compiling parse.cpp with GCC 4.2.3 2008-05-01 16:12:16 +00:00
hvlad
02f2cef2db Update DSQL_pretty to print nod_src_info contents even more correctly :) Noted by Adriano. Also make DSQL_pretty to not loop endlessly on nod_return. 2008-05-01 07:26:53 +00:00
hvlad
a1b08862f0 Corrected fix for bug CORE-1875. Noted by Adriano. 2008-05-01 07:22:11 +00:00
hvlad
62b5c645e5 Fixed bug CORE-1875 : Error on script with current_date 2008-04-30 20:04:18 +00:00
hvlad
7667d6e88f Update DSQL_pretty to print nod_src_info contents correctly 2008-04-30 20:03:40 +00:00
dimitr
6fbb76c115 Fixed the crash reported privately by Bill Oliver. 2008-04-30 17:45:46 +00:00
hvlad
6ee4242552 Fixed bug CORE-1841 : If some VIEW used derived tables and long table names\aliases, It is possible to overflow RDB$VIEW_RELATIONS.RDB$CONTEXT_NAME.
Attention : ODS changed !
2008-04-29 16:39:17 +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
hvlad
48f8d0ff80 Correct my mistake 2008-04-17 10:47:31 +00:00
asfernandes
28d5b99afc Misc 2008-04-16 16:02:01 +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
hvlad
23dad7416f Generate old blr codes (blr_exec_sql or blr_exec_into) if given EXEC STMT statement is compatible with old syntax. Per Adriano request. 2008-04-16 13:08:51 +00:00
robocop
4580126101 Do not use flags for values that are exclusive (can't be combined). 2008-04-16 10:38:08 +00:00
robocop
6f31045e33 Misc. 2008-04-16 09:25:36 +00:00
hvlad
a8a0a39248 Fixed CORE-1837 : Procedure text is stored truncated in system tables if any variable have default value 2008-04-15 19:45:19 +00:00
asfernandes
e4db82781f Corrections 2008-04-15 15:31:21 +00:00
asfernandes
882e71fa81 Put nod_auto_trans in DSQL_pretty - noted by Claudio 2008-04-15 15:19:20 +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
asfernandes
79f8d2ceef Misc 2008-04-15 00:57:19 +00:00
asfernandes
f66f7b28f5 1) Fix another possible invalid memory access in parse.y and the memcpy problem reported by valgrind
2) Misc
2008-04-14 15:22:52 +00:00
robocop
caa5f285c4 Minor cleanup. 2008-04-14 14:26:44 +00:00
asfernandes
e97cccd79d Hope this fix a problem detected by valgrind 2008-04-14 13:35:15 +00:00
robocop
73093a8889 Mark dead code. 2008-04-14 13:01:54 +00:00
robocop
d54a9f7ef6 - Let BIN_AND, BIN_OR and BIN_XOR take two params as minimum.
- Implement BIN_NOT.
2008-04-14 11:09:16 +00:00
robocop
876cb8c11c Better fix for the "unnamed field" bug. Thanks to Adriano for discovering a case that shouldn't be matched. 2008-04-14 07:05:49 +00:00