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

293 Commits

Author SHA1 Message Date
asfernandes
cc5b689eda Misc 2008-08-29 02:18:50 +00:00
alexpeshkoff
b61c1b2e59 Fixed diagnostics broken by my previous commit - thanks to Claudio 2008-08-27 07:33:09 +00:00
asfernandes
736659c1a1 Misc 2008-08-16 15:42:38 +00:00
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
alexpeshkoff
5f0278b14e Added GRANTED BY clause to GRANT and REVOKE commands.
Fixed CORE-1869: Roles granting/revoking logic differs between 2.0 and 2.1.
2008-06-10 10:55:48 +00:00
hvlad
5d9c430674 Implemented improvement CORE-1928 : Allow EXECUTE STATEMENT to inherit access privileges of caller stored procedure or trigger.
Allow to specify EXECUTE STATEMENToptional clauses in any (not fixed) order.
Use INTERNAL_PROVIDER for access to the current database by another user too.
2008-06-08 20:42:27 +00:00
robocop
d9c191f831 Fix the logic in two unused functions (in case they aren't dropped). 2008-06-05 10:58:17 +00:00
asfernandes
0d84abc6d4 Fixed CORE-1919 - Memory corruptions in EXECUTE STATEMENT may crash the server 2008-06-01 01:19:54 +00:00
robocop
88859fdc51 Make operations a bit faster by enabling the vector to add an array of values in a single pass (the same idea as insert's overloaded version). 2008-05-25 12:16:20 +00:00
asfernandes
9fc4a1881f Misc 2008-05-22 21:45:22 +00:00
robocop
66aab208b0 Simplification. 2008-05-21 12:52:29 +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
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
28d5b99afc Misc 2008-04-16 16:02:01 +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
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
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
hvlad
f0899a7256 Make INTO clause of new EXECUTE STATEMENT consistent with other statements - move it at last position. By agreement in fb-devel. 2008-04-12 21:12:29 +00:00
asfernandes
0e8febd6e3 Misc 2008-04-10 02:35:30 +00:00
hvlad
fe3f8c184b New EXECUTE STATEMENT with support of external data source implementation 2008-04-09 20:18:47 +00:00
dimitr
29229a10a6 Simplify the optional default value parsing and processing. This also fixes CORE-1512. 2008-04-04 16:53:29 +00:00
dimitr
08c5783ab2 Misc. 2008-04-03 11:02:11 +00:00
dimitr
13f5cc92e1 Major cleanup of the old-style blk and allocator-based blk_type. 2008-03-19 16:09:00 +00:00
robocop
55e17e46d7 - Made some constructor explicit and discovered that for adding one byte to a string, a temporary string was being created on the fly. Unacceptable in loops.
- Disabled constructor from hell for now. I wasn't the only one confused about the nature of the only argument: only looking at the signature one realizes it's a byte's value, not the initial length.
2008-03-13 10:38:39 +00:00
dimitr
99caa91b85 DSQL integration into the engine. 2008-02-28 13:48:16 +00:00
asfernandes
4b58bb06f1 Feature CORE-1760 - Support hex numeric and string literals 2008-02-27 16:00:31 +00:00
dimitr
c7db4d6a64 Get rid of DsqlMemoryPool. 2008-02-20 15:24:21 +00:00
hvlad
0c51514806 Frontport fix for bug CORE-1724 : Common table expressions cannot be used in computed columns and quantified predicates (IN / ANY / ALL) 2008-02-07 14:10:25 +00:00
asfernandes
f19d9ec09b Improvement CORE-1453 - Allow usage of functions in LIST delimiter parameter 2008-02-05 14:33:42 +00:00
asfernandes
607ef7d9fa Encapsulate the parser and make it thread safe 2008-02-03 19:16:12 +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
74e8bba437 The merge is being fixed. 2008-01-16 11:51:42 +00:00
dimitr
eac5ac337b The merge continued. 2008-01-16 06:52:43 +00:00
asfernandes
4e426d0739 Commit forgotten change 2007-11-26 09:57:19 +00:00
asfernandes
54b36766c0 Misc 2007-11-17 00:38:16 +00:00
paulbeach
7602a29b94 HPUX Port 2007-11-12 14:26:44 +00:00
alexpeshkoff
e4271ba6fa Fixed CORE-1501: Wrong access to SLONG data in dsql_nod 2007-10-17 14:35:31 +00:00
asfernandes
bad4ef9667 Fixed CORE-1497 - New builtin function DATEADD() implements wrong choice of keywords for expanded syntax 2007-10-04 15:23:22 +00:00
asfernandes
d8dde42d07 Fixed CORE-1490 - New builtin function DATEDIFF() implements wrong choice of keywords for expanded syntax 2007-10-02 15:37:38 +00:00
dimitr
4284e1ee34 Resolved CORE-1386. 2007-08-27 10:50:00 +00:00
asfernandes
6331db3ee4 Correction 2007-08-02 00:51:15 +00:00
asfernandes
b5a23c12d1 Improvements:
1) CORE-1387 - Add MILLISECONDS handling to EXTRACT, DATEADD and DATEDIFF functions
2) CORE-663 - EXTRACT(WEEK FROM DATE)
2007-07-31 01:22:59 +00:00