alexpeshkoff
d66281291f
1. Make classic server close shutdown normally when killed by signals 2 & 15.
...
2. Don't leave running instances of fb_inet_server after database shutdown.
3. To make all this possible - reworked Y-Valve in general.
2007-01-20 14:45:45 +00:00
asfernandes
f30ee6b63e
Use debug informations in EXECUTE BLOCK
2007-01-20 14:18:18 +00:00
alexpeshkoff
e79660bca6
fixed gcc warning
2007-01-20 14:07:18 +00:00
dimitr
550df186da
Front-ported bugfix for CORE-1094.
2007-01-19 12:11:16 +00:00
asfernandes
87aa10c9cd
Validate input parameters
2007-01-18 00:26:14 +00:00
asfernandes
aca179f398
Full domain support and NOT NULL in PSQL
2007-01-17 01:19:01 +00:00
asfernandes
7dcab61744
Be standard compliant and allow "AS" between the table name and alias in UPDATE, DELETE and MERGE
2007-01-01 14:13:35 +00:00
asfernandes
7dd5d15b17
Allow table alias on INTO part of MERGE
2006-12-31 20:55:16 +00:00
asfernandes
9c34ba9dfb
Misc
2006-12-16 02:21:21 +00:00
dimitr
7c10900395
Fixed CORE-1055. A change in METD_get_relation() seems to not be strongly required, but I keep it in HEAD for testing.
2006-12-15 16:04:40 +00:00
asfernandes
d2e0434a07
Fixed CORE-1012 - IBO problems with FB >= 1.5.3 "Error with joins and auto-generated search query"
2006-12-01 13:49:11 +00:00
asfernandes
57795e5da8
Replace a deleted piece of code - thanks to Claudio
2006-11-29 00:20:01 +00:00
asfernandes
5e818bd4a9
Rename REPLACE to UPDATE OR INSERT
2006-11-26 15:40:10 +00:00
asfernandes
d168869475
Added RDB$NULL_FLAG and RDB$PARAMETER_MECHANISM to RDB$PROCEDURE_PARAMETERS
2006-11-24 00:25:13 +00:00
asfernandes
d0dec479f2
Remove "MESSAGE" keyword
2006-11-20 12:37:15 +00:00
asfernandes
448a2cca48
Remove not correct warnings
2006-11-18 19:32:11 +00:00
robocop
7a46dc7247
Misc.
2006-11-10 08:12:07 +00:00
robocop
7f2b0cd25d
Fix typos in recent messages.
2006-11-10 08:10:56 +00:00
asfernandes
570b6cd4b4
1) CORE-645 and CORE-745: Database triggers
...
2) CORE-711: Make syntax for "CREATE TRIGGER" compliant with SQL2003
2006-11-05 18:30:36 +00:00
hvlad
05b028628f
Replace few hardcoded error messages by new error codes
2006-11-05 10:54:46 +00:00
asfernandes
c29c3dccb3
Misc
2006-11-04 03:03:45 +00:00
hvlad
f48f2af25b
Few corrections pointed by Claudio
2006-11-03 09:42:42 +00:00
asfernandes
4197a8be70
Fixed a bug when the connection charset is multibyte, appeared after recent changes to CsConvert class.
2006-11-02 22:37:19 +00:00
asfernandes
88a9a84a01
Misc
2006-10-31 14:23:31 +00:00
hvlad
58d381edd7
1. Remove blr_src_info code as it is prevents database downgrade from ODS 11.1
...
2. Put debug information (mapping between blr offset and source line\column and names of local variables) into new blob field RDB$DEBUG_INFO
This is first step to implement native SQL debugger i believe
2006-10-30 20:58:06 +00:00
dimitr
651607f5a9
Done CORE-863.
2006-10-24 16:45:43 +00:00
robocop
5338e807ae
Misc.
2006-10-24 03:48:36 +00:00
robocop
3a05221f9a
Fix prototype, thanks to Steve Boyd.
2006-10-24 02:26:36 +00:00
asfernandes
e57edcaa5c
Misc
2006-10-20 18:49:23 +00:00
robocop
1b9068c0bf
Disable the duplicate field check for sort.
...
(But keep the check for max items at 255.)
2006-10-19 05:12:28 +00:00
robocop
a270d9c440
Put into the msg file several hardcoded messages marked by Arno to be localized.
2006-10-17 06:03:21 +00:00
asfernandes
6f9092fe35
Misc
2006-10-08 01:57:21 +00:00
asfernandes
7c100231a9
Misc
2006-10-07 17:06:59 +00:00
robocop
2b27f56428
- Give meaningful message when reaching max group items (255), reported by David Schnepper.
...
- Misc: more mnemonics for nodes' argument positions.
- Experimental: try to detect conflicting sort options on the same field.
2006-10-07 09:40:59 +00:00
robocop
1e7814b7ca
Misc: more mnemonic for nodes' argument positions.
2006-10-07 09:30:43 +00:00
robocop
e0badaed04
Solve problem reported by Bill Oliver in fb-devel: we should complain when someone tries to sort on more than 255 items.
2006-09-30 09:10:28 +00:00
asfernandes
f2e24565f0
Allow only one of WHEN MATCHED and WHEN NOT MATCHED in MERGE as the SQL spec
2006-09-17 01:41:24 +00:00
asfernandes
9b5ae679c3
Fixed problem with REPLACE and WHEN blocks
2006-09-16 15:53:51 +00:00
asfernandes
bafe7ee53c
Misc
2006-09-15 01:54:50 +00:00
asfernandes
19c8da717c
Be more simple as suggested by Claudio
2006-09-14 11:44:11 +00:00
robocop
98ac099832
Skip irrelevant characters at the beginning of trigger's body.
...
Granted, this has little practical effect because (unlike procedures) trigger bodies include the AS keyword, so garbage between AS and BEGIN is not detected.
2006-09-14 09:43:00 +00:00
robocop
db7c21a752
Misc.
2006-09-14 09:40:58 +00:00
asfernandes
addb91948c
Misc
2006-09-14 02:27:59 +00:00
asfernandes
a40b7b8ae5
MERGE statement
2006-09-14 02:05:32 +00:00
asfernandes
f47711602e
Fix the problem with CAST and parameters reported by Maycon Ferraça in fb-devel
2006-09-13 12:59:53 +00:00
dimitr
726169caed
Fixed CORE-924.
2006-09-12 08:52:03 +00:00
robocop
af8ecc26ca
Solve three problems with arrays:
...
- Don't allow to apply scalar/subscript syntax to fields that aren't array.
- Detect if we get corrupt database containing array with more than 16 dimensions.
- Reject attempt to subscript array with more than 16 dimensions and thus fix the buffer overrun.
2006-09-10 09:05:40 +00:00
dimitr
daa96c44e9
Fixed GCC-based builds.
2006-09-07 11:46:43 +00:00
asfernandes
0cfd1ec791
Misc
2006-09-07 03:43:55 +00:00
asfernandes
4599805c7f
Detect ambiguities in implicit MATCHING of views in REPLACE
2006-09-07 03:30:31 +00:00
asfernandes
5c26d54f02
1) Fixed CORE-899 - Problems with explicit cursors in unwanted states
...
2) Make RDB$DB_KEY in outer joins returns NULL when appropriate
2006-09-07 01:55:49 +00:00
asfernandes
9d4e6c7199
Misc
2006-09-06 02:43:37 +00:00
robocop
c9e311f45d
Misc.
2006-09-05 08:17:26 +00:00
asfernandes
55ec30965d
REPLACE statement
2006-09-03 01:09:23 +00:00
robocop
ef2f4ef904
Centralize detection of those pesky implicit domains.
2006-09-01 02:42:09 +00:00
robocop
7dab022ddf
Prevent users from creating explicit domains that resemble implicit domains because this trick confuses our internal checks:
...
SQL> create domain rdb$1 int;
Statement failed, SQLCODE = -637
Dynamic SQL Error
-SQL error code = -637
-Implicit domain name RDB$1 not allowed in user created domain
2006-08-31 09:06:15 +00:00
asfernandes
9efd321894
Fixed crash with CREATE VIEW ... AS SELECT and the number of columns of the SELECT is greated than the number of columns of the VIEW
2006-08-30 02:31:41 +00:00
hvlad
705db538f9
Fix for CORE-908: Garbage in plan output of complex statement
2006-08-24 13:28:42 +00:00
asfernandes
8622322ca2
Print the statement text before print the BLR
2006-08-20 19:26:35 +00:00
asfernandes
33422843fc
Rollback change not necessary after creation of consts_pub.h
2006-08-20 15:23:00 +00:00
asfernandes
3fb67ef75d
Fix problems of RETURNING...INTO of not yet existent constructions (update/delete)
2006-08-19 18:18:31 +00:00
asfernandes
b3cf84ecdf
Fixed INSERT...RETURNING...INTO not working
2006-08-19 15:49:28 +00:00
asfernandes
b7af27215e
Allow usage of domains in PSQL (with TYPE OF syntax)
2006-08-19 02:52:39 +00:00
aafemt
c662ea7d9e
Warnings
2006-08-17 12:08:49 +00:00
asfernandes
ad5a99420d
Fixed CORE-896 - SUBSTRING with NULL offset or length don't return NULL
2006-08-16 00:09:27 +00:00
asfernandes
8b31e78863
Misc
2006-08-14 03:34:02 +00:00
robocop
471d052e82
Misc.
2006-08-13 06:46:16 +00:00
robocop
aa0007fcef
Misc and better skipping of irrelevant characters in procedure bodies (do not spoil user formatting as requested by Dmitry).
2006-08-13 06:42:28 +00:00
asfernandes
4180a46169
1) Make SUBSTRING of BLOB work
...
2) More refactoration on describing result of expressions (concatenate and substring)
2006-08-12 03:17:01 +00:00
asfernandes
eb4fb2f491
1) Concatenate of BLOBs
...
2) Start a refactoration on descriptor manipulations
2006-08-10 02:53:16 +00:00
asfernandes
d3a7d1b21b
Put blob charset in XSQLVAR::sqlscale
2006-08-08 11:23:47 +00:00
asfernandes
6c707c12a1
Misc
2006-08-08 02:42:10 +00:00
asfernandes
e538061c38
Implementation of CREATE/DROP COLLATION and ISQL show/extraction of collations
2006-08-07 16:39:21 +00:00
asfernandes
df38d56bb5
Misc
2006-08-06 18:03:22 +00:00
hvlad
7d1693ae39
Corrected logic of removing recursive members from joins in recursive CTE
2006-08-05 21:56:04 +00:00
dimitr
3231829cf8
Ported fix for CORE-855 to HEAD.
2006-08-04 04:32:27 +00:00
asfernandes
9fc1ccbba5
Misc
2006-08-02 01:22:11 +00:00
asfernandes
069e46b050
RECURSIVE is reserved in SQL2003
2006-08-02 00:53:01 +00:00
hvlad
b20aa92714
Common table expressions implementation
2006-08-01 20:37:58 +00:00
asfernandes
273da882bc
Misc
2006-07-31 01:46:52 +00:00
robocop
34e37d54ae
Fix CORE-200
...
Handle column names in subqueries.
Put some more names for common operations and special data.
Disable nod_count since it's not generated by our parser.
2006-07-30 05:09:41 +00:00
robocop
bcf2cb8701
1.- COALESCE/CASE and VIA (subqueries) allowed breach in computed field checks (no array and no blob).
...
2.- Misc: since gbak allows not only to backup metadata only but to restore metadata only (even from a full backup), changed the help message.
2006-07-30 02:59:29 +00:00
robocop
8b74a50186
Fix CORE-871
...
I did this fix for SF Bug #228135 in February 2002 to FB1. On November 2002, for unknown reasons to me, Ignacio Ortega made the fix a comment, so FB1.5, FB2 and FB2.1 have the bug again. I'm fixing FB2.1 to close the same bug that now appears as CORE-871. We need more regression tests.
2006-07-28 07:45:50 +00:00
dimitr
cffe207614
A few fixes for the monitoring tables.
2006-07-23 12:14:59 +00:00
dimitr
bbaea14abe
Misc.
2006-07-23 11:14:43 +00:00
dimitr
9d534e1521
Misc.
2006-07-21 04:15:40 +00:00
dimitr
5519d31f70
More format overflow checks. Also this fixes CORE-842.
2006-07-20 09:57:04 +00:00
asfernandes
ea0435247a
Misc
2006-07-18 02:45:35 +00:00
dimitr
c68587fe66
1. Virtual tables
...
2. ODS 11.1, procedure type and relation type
2006-07-17 17:44:18 +00:00
dimitr
d5b27fdb17
1) Fixed CORE-831.
...
2) Solved CORE-779 (partially intermixed with another changes that will be committed tomorrow).
2006-07-17 12:44:18 +00:00
asfernandes
07348995d1
Remove these autogenerated files as everybody can build with the integrated btyacc
2006-07-17 02:22:10 +00:00
asfernandes
84c593b954
Correction for problem with CURRENT_USER/ROLE and client charset
2006-07-12 18:44:08 +00:00
asfernandes
a86cf35ad4
Synchronization of DSQL metadata cache objects in classic-server
2006-07-10 03:12:10 +00:00
robocop
f14fd66173
Misc: we typically use the exact node name when doing DSQL's internal debugging output.
2006-07-05 04:37:53 +00:00
hvlad
fe67b9e045
Regenerate parser files
2006-07-04 14:49:05 +00:00
hvlad
fac53c8177
Added blr_src_info. Error call stack now contains not only
...
procedures\triggers names but line\column numbers also.
Thanks to Eugeney Putilin for idea
2006-07-04 14:44:43 +00:00
robocop
9aba938bf3
Totally misc.
2006-07-04 05:27:58 +00:00
asfernandes
eb00409120
Mark potential dropped UDFs as dropped as we do with procedures and relations
2006-07-03 01:28:21 +00:00
asfernandes
aa6753fc82
Regenerate
2006-06-26 20:58:46 +00:00
asfernandes
1a0df78e29
Allow the use of COLLATE in parameters (input and output) and variables in PSQL - feature request (CORE-684) COLLATE IN STORED PROCEDURES, OR IN PARAMETERS
2006-06-26 20:58:13 +00:00
robocop
db5f743685
Misc.
2006-06-16 08:13:20 +00:00
robocop
1813e5a124
Fix bug noticed by Dmitry Yemanov: sometimes, special characters are detected and rejected. Other times, anything that follows them is silenty ignored. Unacceptable. We were accesing an array out of bounds.
...
update customers set city = 1<SC> where 1 = 0;
In this case, SC was a strange character in the range 127..255 (for example, 238) and I had to use Windows' chcp 1251 and isql's set names 1251 to see the problem.
2006-06-07 05:39:46 +00:00
robocop
00b890174a
Blob sub_types greater than 1 (text) are for our internal ussage. Negative blob sub_types are for users. Stop users from creating columns with blob sub_types beyond. Probably the same check has to be done in DYN.
2006-06-02 08:44:19 +00:00
robocop
7d4cb328fc
Misc.
2006-06-02 08:03:22 +00:00
dimitr
bcf8332407
sed-file is not used anymore.
2006-06-02 03:34:16 +00:00
dimitr
9881681557
Complete one of my previous commits.
2006-06-01 09:48:02 +00:00
dimitr
78c23ca592
Some preparation for RETURNING in UPDATE/DELETE.
...
To be completed in v3.0.
2006-05-31 18:02:34 +00:00
robocop
60d8b0c277
Follow Alex' fix but in the other DSQL preprocessed file.
2006-05-31 01:19:59 +00:00
alexpeshkoff
9806b4d1b7
fixed regression in diagnostics
2006-05-30 14:45:07 +00:00
robocop
73c9775c2a
Tag time differences and timestamp differences as NUMERIC sub_type if they produce exact numeric results.
2006-05-28 07:46:35 +00:00
dimitr
5c049f1eab
MT related cleanup.
2006-05-26 06:11:04 +00:00
asfernandes
67e900c4f3
Regenerate parse.cpp
2006-05-26 01:01:04 +00:00
asfernandes
d76fde6496
GLOBAL is reserved word in SQL2003. Move from non_reserved_word to keyword_or_column.
2006-05-26 00:59:17 +00:00
robocop
7040d668fd
Misc.
2006-05-25 08:40:23 +00:00
dimitr
bc83c1ef4c
Updated parse.cpp
2006-05-25 08:01:33 +00:00
robocop
1571fef42c
Introduce the new v2.1 keywords as non-reserved words. Someone with the new build system (btyacc) please regenerate the files.
2006-05-25 07:05:35 +00:00
dimitr
006d5871b0
Restored my previous solution. The final decision is that NOT IN cannot be index-optimized reliably.
2006-05-24 13:19:33 +00:00
asfernandes
24d936cd70
Misc
2006-05-22 01:29:06 +00:00
asfernandes
8e5e51e84d
New keywords is using tok_version = 2
2006-05-22 00:14:20 +00:00
hvlad
1296e18049
Regenerate parser and error codes files (after GTT)
2006-05-21 22:14:38 +00:00
hvlad
701f2cbda4
Global temporary tables implementation
2006-05-21 22:07:35 +00:00
asfernandes
292ad66e96
Misc
2006-05-20 01:53:51 +00:00
asfernandes
a3b411a4c1
Misc
2006-05-20 00:59:22 +00:00
alexpeshkoff
b056a118b5
1. Avoid use of STL
...
2. Reworked exceptions to make status_exception always hold correct status vector
3. Avoid use of RTTI
2006-05-19 15:17:02 +00:00
robocop
1cd8eb20da
Cope with old compilers.
2006-05-18 06:26:15 +00:00
dimitr
e3646a03d2
Fixed the regression reported by Adriano.
2006-05-17 04:33:44 +00:00
asfernandes
abc1a41b6d
Misc
2006-05-17 02:43:12 +00:00
dimitr
4976c7d29d
Committed the correct UPDATE behaviour. Disabled so far.
2006-05-16 09:09:18 +00:00
asfernandes
c3348f77b9
Fix problem when trimming not-nullable blobs
2006-05-14 14:32:43 +00:00
asfernandes
40bfb5f0f4
Make TRIM of blob work - returning a blob
2006-05-13 01:27:35 +00:00
robocop
136cab1caf
Misc.
2006-05-04 02:57:26 +00:00
asfernandes
f3251b285b
Misc
2006-05-02 00:15:29 +00:00
robocop
ea3c37f4cb
Remove unused code.
2006-05-02 00:11:46 +00:00
robocop
07f4bed382
I don't want another "interprete", so I rename "defered" to "deferred".
2006-05-02 00:04:12 +00:00
hvlad
f94b8bd641
Merge B1_5_Remote_LazyPort branch into HEAD
2006-05-01 22:23:31 +00:00
dimitr
cebda2b4bf
Threading cleanup. More to follow.
2006-05-01 04:43:59 +00:00
alexpeshkoff
469589f573
Use Firebird::Array instead of STL's vector
2006-04-25 17:49:24 +00:00
dimitr
8b45562f81
The DSQL code of the LIST function. Unstable yet.
2006-04-24 17:24:26 +00:00
asfernandes
73d35f65d6
Sync with parse.y
2006-04-23 15:14:35 +00:00
robocop
e54dedb70c
Misc.
2006-04-20 01:23:10 +00:00
dimitr
cfefbee57a
Removed the lexer hacks from the parser.
2006-04-19 11:32:37 +00:00
asfernandes
3b54c24652
Let LOWER/UPPER (blob) work - returning a blob
2006-04-16 18:45:40 +00:00
robocop
866854d91c
Misc.
2006-04-11 07:14:48 +00:00
alexpeshkoff
3e8edbaeb3
fixed AV during massive addition of relations to DSQL hash
2006-04-09 12:47:29 +00:00
asfernandes
a34d59a454
Fix problem which occur when select a field with NONE charset when using another connection charset - second part of problem reported by Michal Kubecek
2006-04-08 03:09:08 +00:00
dimitr
ebed4eb85f
More threading related fixes. As a side effect, it disables a primitive client-side caching of a few predefined queries, but it doesn't show any performance difference.
2006-04-07 09:16:55 +00:00
dimitr
f084389653
Fixed the regression caused by my changes re. Dialect 1.
2006-04-05 04:38:03 +00:00
hvlad
5f105d2154
Make input parameters of EXECUTE BLOCK statement nullable
2006-03-29 09:41:48 +00:00
arnobrinkman
ce6eeb13c7
Fix node compare function for derived fields.
...
Fixes field test-item #1449377 .
2006-03-14 10:57:11 +00:00
asfernandes
32f770b760
Fix incorrect malformed string error, reported by Richard Wesley
2006-03-10 00:08:44 +00:00
dimitr
8da75613c4
Fixed yet another bug in explicit cursors.
...
Unfortunately, BLR compatibility is not provided, so users have to recompile their SPs/triggers.
2006-03-07 17:52:33 +00:00
dimitr
958b1fea85
Fixed bug in RETURNING INTO code.
2006-03-07 14:42:19 +00:00
dimitr
fee85ae5d6
Added a context overflow check to DSQL as well.
...
Based on a bugreport by Volker Rehn.
2006-03-07 10:20:52 +00:00
dimitr
5ac952b661
There's no need to transform NOT ANY to ALL, as NOT ANY effectively uses indices.
2006-02-15 13:35:53 +00:00
hvlad
a2afa1051e
Fixed unregistered bug: AV in request driven by freed cursor
...
(when request is dropped flag REQ_orphan is set for child requests but
this flag is never checked)
2006-01-27 07:36:17 +00:00
dimitr
a3b2c23aff
CREATE VIEW should be aware that a column alias doesn't necessarily mean an expression.
2006-01-26 11:21:12 +00:00
robocop
770fd53775
Fix SF Bug# 1408079 and also the same problem with unterminated comment blocks /* ...
2006-01-25 08:40:39 +00:00
arnobrinkman
a52a8f5c66
Fix incorrect "Ambiguous field name error" reported by Ivan Prenosil:
...
SELECT
(SELECT RDB$FIELD_NAME FROM RDB$RELATION_FIELDS
WHERE RDB$FIELD_SOURCE = RDB$FIELDS.RDB$FIELD_NAME)
FROM RDB$FIELDS
WHERE RDB$FIELD_NAME NOT IN
(SELECT RDB$FIELD_SOURCE FROM RDB$RELATION_FIELDS)
2006-01-22 19:14:27 +00:00
asfernandes
e781d29e1e
Fixed problem caused by usage of UNICODE_FSS system domains in users views and tables - thanks to Dmitry
2006-01-21 14:55:16 +00:00
hvlad
c65b1fda0a
Regenerated parser files after parse.y change
...
By bison 2.1 now
2006-01-20 13:34:18 +00:00
hvlad
7c1372ee30
Again fix issue with parser and not correctly stored source for
...
CURRENT_TIME\CURRENT_TIMESTAMP in procedure parameters
default values. Reported by Martijn Tonies
2006-01-20 13:31:26 +00:00
paul_reeves
6baee04435
Forward port OldColumnNaming from Fb 1.5.3
2006-01-17 04:40:31 +00:00
alexpeshkoff
fb6757bbed
fixed gcc warning(s)
2006-01-16 16:31:15 +00:00
asfernandes
608a594696
Fixed problem causing collation lost in sqlsubtype when using dynamic charset - reported by Ivan Prenosil
2006-01-15 18:11:31 +00:00
robocop
1ca7a582f9
EXPRESSION_INDICES code is considered stable and therefore there's no need to keep it protected by macros. Please do a full rebuild.
2006-01-14 07:00:44 +00:00
robocop
be13107102
Misc.
2006-01-04 05:55:24 +00:00
dimitr
68ea35e64c
More realistic BLR buffer. We don't need redundant allocations.
2005-12-21 17:49:47 +00:00
dimitr
96f644b6bd
Fixed a few wrong error messages + minor cleanup.
2005-12-12 17:36:19 +00:00
dimitr
75fade8b0a
Ported solution for SF #1371274 from Yaffil + minor cleanup.
2005-12-12 17:27:10 +00:00
dimitr
52abeceb5e
Changed location of some defines in order to avoid internals inside ibase.h.
2005-12-05 11:31:45 +00:00
hvlad
84244fc30e
Regenerate parser files
2005-12-04 12:21:00 +00:00
hvlad
c333e74b4c
1. Correct end_default_opt rule
...
2. Fix wrong error reporting found by Claudio
2005-12-04 12:18:51 +00:00
asfernandes
68830f0724
Lookup for procedure parameters in isc_blob_lookup_desc
2005-12-02 00:28:14 +00:00
dimitr
9e7ae46d1f
Simplified code a bit. Fixed the crash with the usage of TRIM in aggregation.
2005-11-30 09:03:53 +00:00
hvlad
d7ccce5c37
Regenerated parser files after parse.y change
2005-11-29 16:13:03 +00:00
hvlad
217fd7e959
Second attempt to fix issue with parser and not correctly stored source
...
for DEFAULT CURRENT_TIME\DEFAULT CURRENT_TIMESTAMP
2005-11-29 16:09:02 +00:00
robocop
5508320ef7
Misc.
2005-11-29 06:24:56 +00:00
arnobrinkman
ee9ac954ee
Fix column-name problem with UNION and derived fields.
...
Problem found by Volker Rehn.
2005-11-28 23:06:53 +00:00
alexpeshkoff
62a24d46e4
1. Moved data structures, written to database file, into ods.h.
...
2. Added new types of clumplets to ClumpletReader and ClupmletWriter.
3. Applied modified ClumpletReader and ClupmletWriter to /remote and partially /jrd.
4. Added active protection from remote brute-force attack to services API.
2005-11-27 20:53:09 +00:00
arnobrinkman
d1e0291152
Add missing nodes to sub-select detection
2005-11-26 16:15:47 +00:00
dimitr
a34cf16466
Let's generate blr_blob2 for PSQL blobs instead of blr_quad.
...
This allow PSQL blobs to carry the charset/collation attributes.
2005-11-25 14:58:50 +00:00
hvlad
b144b0267d
Enlarged dsql and jrd hash tables sizes
2005-11-21 23:52:11 +00:00
hvlad
b5094b2b2c
Regenerated parser files after parse.y change
2005-11-21 17:58:07 +00:00
hvlad
a174b8336f
Fixed issue with parser and not correctly stored source
...
for DEFAULT CURRENT_TIME\DEFAULT CURRENT_TIMESTAMP
2005-11-21 17:57:20 +00:00
robocop
d1373b1555
Fix clash with winbase.h on IGNORE.
2005-11-18 04:39:47 +00:00
robocop
90174410a2
Let Ivan Prenosil test his beloved transaction options.
2005-11-17 04:22:10 +00:00
hvlad
f89e461887
Cached charsets by id (not only by name) in dsql. Removed irq_cs_bpc request as unneeded anymore
2005-11-16 07:49:28 +00:00
robocop
016931bb63
What about putting the nodes you added in node.h also in the DSQL debugging facilility, folks?
...
:-)
2005-11-12 23:36:09 +00:00
dimitr
a0ea9ad0bc
Globals must die, epysode III.
2005-11-12 18:48:09 +00:00
arnobrinkman
a381385af0
Fix problem with sub-queries/derived tables in the HAVING clause
2005-11-08 23:49:50 +00:00
robocop
405346ba33
Fix SF-bug field-test #1192225 .
2005-10-30 08:15:29 +00:00
dimitr
5e8af7b048
Implemented RECREATE TRIGGER.
2005-10-29 09:15:37 +00:00
alexpeshkoff
5724d3eb15
Fixed SS deadlock in DSQL
2005-10-28 16:34:59 +00:00
dimitr
953aa2dfd0
Fixed the bug noticed by Claudio.
2005-10-28 05:37:34 +00:00
dimitr
85388cd3c7
1) Fixed check constraints
...
2) A bit simplified generation of check option triggers
3) Cleanup of unused parser stuff
2005-10-26 18:21:32 +00:00
arnobrinkman
a93df44449
Fix NEW/OLD context problem found by Dmitry
2005-10-25 20:42:29 +00:00
dimitr
868a5bb21f
Better (and more honest) diagnostics.
2005-10-21 09:43:26 +00:00
dimitr
23eb1ca985
Change the visibility rules for uncommitted relations.
...
The goal is to simplify them and fix known issues with ALTER TABLE.
Hopefully, this won't cause any side effects.
2005-10-21 08:47:26 +00:00
robocop
68f3568b0f
Close the remaining, third item in SF Bug #217042 . Now the four items are solved.
...
However, this third item was the tip of the iceberg: computed fields silently dropped implicit or explicit charset/collation/sub_type specification, whether it was derived from the expression or dictated by an explicit cast.
Also, had to invent a new flag to deal with relations being just created now and whose db_key_length obviously doesn't exist. Still looking for better solution.
2005-10-08 06:52:57 +00:00
robocop
e2dd9845b5
Totally misc.
2005-10-08 06:47:34 +00:00
robocop
7d304b0fbb
Fix SF Bug #1292007
...
Move some hardcoded error texts to the msg database.
2005-10-06 06:08:10 +00:00
robocop
01e8fab3e0
Trim unneeded blanks and some control characters between DEFAULT clause and the default value itself in procedure parameters, too.
...
Trim unneded blanks and some control characters before the BEGIN or DECLARE clauses in a procedure body.
2005-09-30 07:50:39 +00:00
dimitr
75ac53eeb4
Temporarely rolled back to the previous end_trigger logic due to found issues.
...
Still looking for a proper solution.
2005-09-28 13:23:02 +00:00
arnobrinkman
3326dd95ff
Fix another "with check option" issue <sigh>
2005-09-27 20:41:18 +00:00
hvlad
1b26b6e6b5
Make code more robust. Reported privately by Tom Cole
2005-09-27 19:23:24 +00:00
dimitr
dead116ac8
Significant changes in the DDL source parsing (begin_*, end_* rules):
...
1) store WITH CHECK OPTION instead of WITH CHECK (views)
2) store DEFAULT <value> instead of <value> (procedure parameters)
3) attempt to fix the bug in end_trigger causing longer string to be stored (try e.g. DEFAULT CURRENT_TIME NOT NULL)
4) major cleanup of begin_trigger and indentation, simplified some parser rules
Now awaiting for the Claudio's attack :-)
2005-09-27 11:17:54 +00:00
dimitr
3e575cc3ba
Let's recognize an attempt to alter a not existing table earlier than in DYN.
...
In particular, this prevents a server crash introduced by some recent DDL checks.
2005-09-19 14:48:26 +00:00
dimitr
51a8e6dd62
Fixed dialect 1 regression caused by my recent changes.
2005-09-16 10:50:57 +00:00
dimitr
e285db7acf
Fixed the issue with zero-initialized status vector during prepare.
2005-09-14 19:06:28 +00:00
asfernandes
13910d5c73
Fix issue of SQLVAR.sqllen from non-system MBCS fields, thanks to Roman
2005-09-14 18:09:40 +00:00
dimitr
39bceddf43
Another attempt to fix the issue with uncommitted DDL.
2005-09-14 11:42:21 +00:00
robocop
aab2d20725
- Get rid of DBB_v3 in DSQL and put a message just in case we find ODS<=7 (impossible in theory, since FB wouldn't open such db).
...
- Put mnemonics for two hardcoded error msgs I hijacked from DYN years ago. Now they are defined for the SQLERR facility.
2005-09-10 07:15:24 +00:00
dimitr
e2ca3104e5
Cleanup.
2005-09-09 10:15:02 +00:00
dimitr
d946030bed
Small correction.
2005-09-09 09:07:08 +00:00
dimitr
9309486dba
Clear the DSQL metadata cache after ALTER EXTERNAL FUNCTION statement.
2005-09-09 06:40:44 +00:00
hvlad
c420a96abe
Removed unused member
2005-09-04 21:39:22 +00:00
hvlad
6e63680183
Correction
2005-09-04 21:33:57 +00:00
hvlad
a3c369866a
Add error handlers
2005-09-04 21:32:16 +00:00
hvlad
3f03b1d619
Small code reorganisation:
...
1. move two identical 'copy_status' functions from array.epp and blob.epp into utld.cpp
2. allow ERRD_punt use local instance of status-vector
2005-09-04 21:31:25 +00:00
robocop
36f8683511
Get rid of my old hack to solve a problem between John/Mark's FIRST/SKIP parameters type and dialect detection. The dialect is in the request.
2005-09-03 08:03:39 +00:00
robocop
057f098a28
- Misc.
...
- Detect a limit case with params and containing or starting.
2005-09-03 07:47:32 +00:00
dimitr
898cb02240
1) Made output parameter naming a common procedure instead of select-list private code.
...
2) Allowed value expressions in the RETURNING clause.
2005-09-02 05:30:16 +00:00
asfernandes
f93bf8d46a
Fixed problem of implict NOT NULL (in PRIMARY KEY constraint) being generated with the same constraint name of the PK.
...
Thanks to my brother Adilson for the test case.
2005-08-29 18:41:21 +00:00
dimitr
faa8162a2b
Fixed SEGV reported by Konstantin.
2005-08-25 12:37:26 +00:00
dimitr
0cd5e57eaa
Added optional seconds precision to CURRENT_TIME and CURRENT_TIMESTAMP
...
as agreed with Ann and others times ago.
2005-08-24 09:42:14 +00:00
dimitr
2f4312b6c6
Added optional seconds precision to CURRENT_TIME and CURRENT_TIMESTAMP
...
as agreed with Ann and others times ago.
2005-08-24 09:22:40 +00:00
dimitr
8df5a70299
Rolled back my commit as a performance looser.
...
More precise savepoints handling is being investigated.
2005-08-24 06:21:47 +00:00
dimitr
a30e17bce3
Fixed wrong keyword version.
2005-08-22 13:39:30 +00:00
dimitr
9a489515b9
Fixed PSQL exception handling which never worked consistently.
2005-08-22 10:12:13 +00:00
asfernandes
0b1eb55d62
Fixed SF field-test #1249187 - 2.0a3: String literals dest. for large CHAR fields truncated
2005-08-21 15:52:30 +00:00
arnobrinkman
b900f56435
Allow outer reference in derived table to higher scope-levels
2005-08-16 21:19:17 +00:00
robocop
22742ccdd7
Tweak DYN to solve several issues:
...
- Allow to set and drop defaults for table's fields (as it has been possible with domains).
- Stop people from setting a default value for array types.
- Close checking holes that allowed people to change from scalar types to array types and vice/versa.
- Improve some error messages.
2005-08-14 05:48:20 +00:00
dimitr
6494351243
Fixed a number of issues for Dialect 1 and Dialect 3 (string arithmetics) + some cleanup.
...
The issues are:
1) '1.5' / '0.5' doesn't work in Dialect 1
2) avg ('1.5') doesn't work in Dialect 1
3) 5 * '1.5' produces INT result instead of DOUBLE PRECISION in Dialect 1
4) sum ('1.5') produces NUMERIC(15, 2) result instead of DOUBLE PRECISION in Dialect 1
5) - '1.5' doesn't work in Dialect 1
6) '1.5' * '0.5' and '1.5' / '0.5' are not forbidden in Dialect 3
2005-08-06 05:29:31 +00:00
robocop
773b8035c1
Totally misc.
2005-08-04 04:03:01 +00:00
arnobrinkman
d41f73b112
Sigh, if i change something then i must do it right
2005-08-02 08:36:51 +00:00
arnobrinkman
ec541b28d5
Fix unreleased contexts problem with derived tables, found by Vlad.
2005-08-01 19:05:57 +00:00
arnobrinkman
a6deb7b96e
Fix mistake, noticed by Claudio
2005-07-31 14:13:30 +00:00
robocop
a32d2f48b6
Totally misc.
2005-07-31 03:34:04 +00:00
arnobrinkman
8a6f8e4a1c
Fix nullable flag for descriptor generated by MAKE_desc_from_list()
2005-07-28 13:35:08 +00:00
arnobrinkman
8b39342fdf
Fix "WITH CHECK OPTION" bug introduced with tighter alias handling.
...
In fact the tighter alias handling was showing a hidden "bug".
2005-07-27 18:57:15 +00:00
dimitr
0b3d60bbde
Fixed the GEN_ID(<name>, NULL) issue (reported by Claudio).
2005-07-27 07:36:03 +00:00
dimitr
50add99198
Fixed the NEXT VALUE FOR bug for dialect 3. Thanks to Claudio.
2005-07-27 05:36:43 +00:00
dimitr
3e0fe831cd
Fixed the arrays bug introduced by myself.
2005-07-26 12:16:29 +00:00
arnobrinkman
e2a664a6a2
Fix and simplify PLAN alias lookup
2005-07-26 11:54:37 +00:00
arnobrinkman
beb6fb213d
Fix and simplify PLAN alias lookup
2005-07-26 11:48:10 +00:00
arnobrinkman
22ac7c9cdc
Fix derived table issues with NEW/OLD contexts (Triggers/check-constraints)
...
Also adjust IN predicate behaviour to derived table.
PLAN parsing for derived tables will be fixed later.
2005-07-25 14:43:28 +00:00
asfernandes
d524eec86f
Fixed SF #1242379 - Collation changes VARCHAR's length
2005-07-22 02:08:14 +00:00
dimitr
81b86138b3
Correction.
2005-07-20 12:49:56 +00:00
dimitr
1a3218625d
Added DSQL support for ROLLBACK RETAIN.
2005-07-20 10:05:57 +00:00
dimitr
e26108da29
1) Fixed threading issues in DSQL (they always existed, but were hidden until recently).
...
2) Cached all METD requests.
2005-07-17 07:00:55 +00:00
dimitr
75a8789a09
Temporarily rolled back my fix.
2005-07-16 06:46:07 +00:00
arnobrinkman
21c839b45a
Send annoying unemployed code out of the door
2005-07-13 20:07:13 +00:00
dimitr
3a6419378d
Fixed SF #1012152 .
2005-06-24 15:06:54 +00:00
asfernandes
2cae7d39b7
Simplification
2005-06-17 01:33:14 +00:00
robocop
e28ed6b27c
Try to indicate position of incomplete commands.
...
Some casts because statuses are fixed 32 quantities, not natural int types.
2005-06-16 05:11:08 +00:00
robocop
a3e76836e3
Misc.
2005-06-16 05:02:37 +00:00
asfernandes
890494ac7c
1) Fixed SF #1016040 Missing external libraries causes engine exception
...
2) Use better error messages
2005-06-14 03:16:54 +00:00
dimitr
40b5c1d6bb
RETURNING implementation.
2005-06-13 12:45:42 +00:00
asfernandes
4efb74fc51
Removed some compiler messages
2005-06-13 02:12:14 +00:00
asfernandes
a44e8ffbd0
Fix TRIM(NULL FROM <something>) to return NULL
2005-06-12 21:20:12 +00:00
hvlad
f07656ec54
Fixed SF bug #1211325 (BLOBs in external tables)
2005-06-11 11:36:59 +00:00
robocop
b7e36b865d
Backport Tom Cole's fix for FP numbers as strings.
2005-06-11 03:14:22 +00:00
robocop
c674f50758
CREATE DATABASE can tolerate single line comments (AFAIK, client-side issue).
2005-06-11 00:22:47 +00:00
robocop
3a8cd43a05
Please Dmitry and try to report the line/column of an incomplete statement.
2005-06-11 00:20:22 +00:00
asfernandes
3d93cdf69c
Fix possible problems with larger columns sizes noted by Claudio
2005-06-10 02:03:08 +00:00
dimitr
00e0976294
Fixed bug with lost charset/collation in local variables,
...
reported by Eugene Kilin.
2005-06-08 13:42:59 +00:00
asfernandes
3647497a08
Misc.
2005-06-06 20:18:12 +00:00
asfernandes
559ce29c51
1) Replace length_ to strlen as noted by Claudio and Dmitry
...
2) Change USHORT to ULONG in intl.cpp
2005-06-06 18:14:10 +00:00
dimitr
d9294d7938
Added new error message.
2005-06-06 13:37:31 +00:00
dimitr
15151d5bba
Fixed charset/collation issues for view columns.
2005-06-06 11:06:01 +00:00
robocop
b8d1f00f94
- Corrections and changes to Adriano's commit, subject to his inspection.
...
- Solved an endless loop with trim and zero-length trim characters, etc.
- Some places are signaled with FB_COMPILER_MESSAGE for prompt attention.
2005-06-06 08:30:03 +00:00
arnobrinkman
8affc50d24
Fix unneeded evaluation of last item by COALESCE function, noted by Dmitry
2005-06-03 21:14:35 +00:00
asfernandes
59213efe7e
Merge INTL branch into HEAD
2005-05-27 22:45:31 +00:00
arnobrinkman
1e539b16c1
fixed missed return, thanks to Claudio
2005-05-23 23:16:49 +00:00
robocop
3aaa840483
Misc.
2005-05-22 03:11:41 +00:00
robocop
b490df3a41
ALTER EXTERNAL FUNCTION: be able to change the entry_point or the module_name when the UDF cannot be dropped to correct the declaration because it's used in some view, procedure, trigger or check.
2005-05-22 02:42:17 +00:00
robocop
95d8b36260
Misc.
2005-05-19 23:41:17 +00:00
robocop
1fc49649a0
Getting rid of commented code that belonged to the dead shared cache and/or WAL plus making COLLATION non-reserved word and having trivial special handling for COMMENT so it's recognized as token only if it's the first token.
2005-05-19 07:41:27 +00:00
robocop
934c5d8cf3
Getting rid of commented code that belonged to the dead shared cache and/or WAL plus identifying the keywords that have special handling as non-keyword, so isql and others future clients of KEYWORD_stringIsAToken() won't treat these as if they need double quotes.
2005-05-19 07:38:29 +00:00
robocop
da0a6bba5b
Getting rid of commented code that belonged to the dead shared cache and/or WAL plus fixing some indentation.
2005-05-19 07:34:46 +00:00
arnobrinkman
0132e696f2
Fix mapping problem when derived table was used as sub-query.
...
This was only possible since pass1_any() behaviour has been changed.
Normally a derived table cannot access fields outside the derived table context.
2005-05-18 18:55:57 +00:00
robocop
0285f6bf76
- Implement the proposed COMMENT keyword to allow descriptions in database objects. Subject to change or withdrawal.
...
- Enhance some messages. Reuse some msg numbers that were duplicate.
- Fix some issues found in Alex recent MetaName-related commits.
2005-05-17 07:17:25 +00:00
alexpeshkoff
b8929eecbf
front-ported my fix from 1.5.2 - fixed AV in ALTER TABLE
2005-05-12 18:23:01 +00:00
hvlad
33e495c7ad
Fixed unregistered bug - AV in incorrect written EXECUTE BLOCK statement. For example :
...
EXECUTE BLOCK AS
BEGIN
INSERT INTO DUMMY (ID) VALUES(?);
END
Thanks to Arno
2005-05-12 17:46:31 +00:00
dimitr
7c8fc55056
Fix for the bug reported by Bill Oliver.
2005-05-06 18:09:49 +00:00
arnobrinkman
0f07677e46
Fix errors generated by IN-predicate due pass1_any() change
2005-05-04 19:38:47 +00:00
arnobrinkman
6a73b87b62
Fix bug SF #1191006 Using where params in SUM return incorrect results
...
parameters weren't checked on equality in node_match()
2005-05-04 09:53:37 +00:00
dimitr
e288d2ac49
Fixed bug found by Arno.
2005-05-04 08:44:35 +00:00
dimitr
27340d7daf
1) Fixed buggy behaviour of IN vs FIRST/SKIP.
...
2) Allowed UNIONs in ANY/ALL/IN subqueries.
Subject of Arno's review.
2005-05-02 12:41:02 +00:00
dimitr
65588a5003
Optimized NOT conditions when possible.
2005-05-02 09:47:27 +00:00
arnobrinkman
0a5c47ca6b
Remove non-sense comment
2005-04-26 13:32:15 +00:00
arnobrinkman
9f929f2527
Fix SF bug #1016969
...
-804 Data type unknown with searched CASE and parameters in results
2005-04-26 11:46:07 +00:00
arnobrinkman
4f7123010c
Fix bug with VALUE keyword in check constraint and
...
bug Found by Tom Cole with VALUE keyword where VALUE represents a column
2005-04-24 18:26:12 +00:00
arnobrinkman
0aea42263e
Second fix for items-list where NULLs default descriptor shouldn't be used to determine the final output descriptor.
...
Only UNIONs were affected by this bug.
2005-04-20 13:06:42 +00:00
arnobrinkman
cfc703f766
Fix bug with alias hiding datatype by datatype-list coercion
2005-04-19 09:55:53 +00:00
robocop
d0115322ac
Misc.
2005-04-18 03:24:34 +00:00
dimitr
cce77ac325
Fixed issue reported by Adriano.
2005-04-16 18:21:09 +00:00
dimitr
aeaa8b2290
Removed the feature that was never used for the last years.
...
An intention was to disallow batch fetches from procedures,
but this code never worked due to recursion in PASS1_rse().
Accidentally, I've fixed the reason in FB2 and now users
observe noticable performance degradation. To keep the
performance, let's do batch fetches again. Those who are
not sure what their procedures do between suspends may
use a FOR UPDATE clause anyway.
2005-03-31 15:27:12 +00:00
robocop
da0b4784b6
Misc.
2005-03-31 06:21:55 +00:00
robocop
21af4a943a
1.- Disambiguate rules between READ BLOB/INSERT BLOB and metadata definitions involving blob fields.
...
2.- Fix the source of DSQL crash with READ BLOB.
3.- Fix (1) has the side effect of stopping invalid DDL like
create table t(b blob 0);
2005-03-31 06:20:29 +00:00
dimitr
543d0fa51b
Solved issues with EXEC PROC and input message (related to my previous changes).
2005-03-30 17:55:29 +00:00
robocop
dec3481e28
Variables in context.
2005-03-30 05:12:02 +00:00
dimitr
67e30e2dc3
Removed short-curcuit prepare for EXEC PROC requests.
2005-03-29 06:09:37 +00:00
robocop
318cd7ae44
Fix DY's copy/paste bug.
2005-03-27 04:51:21 +00:00
dimitr
d25fcdc0c4
Implemented RECREATE EXCEPTION and CREATE OR ALTER EXCEPTION.
2005-03-26 16:11:52 +00:00
dimitr
7307d7f490
More parameter checks in the PSQL case.
2005-03-26 14:05:44 +00:00
dimitr
b8e5350158
Parser simplification and minor cleanup.
2005-03-26 13:32:29 +00:00
dimitr
fa8f456325
Fixed server crashes related to some plan buffer overflows.
2005-03-23 07:14:12 +00:00
arnobrinkman
eac753f709
Fix typos found by Tom Cole
2005-03-13 12:17:32 +00:00
robocop
2f752f36aa
Totally misc.
2005-03-04 00:01:42 +00:00
alexpeshkoff
f4cd5a154f
Changed name to security2.fdb
2005-02-24 12:24:38 +00:00
dimitr
e3a9d86662
Simplify code paths a bit.
2005-02-21 13:18:49 +00:00
dimitr
37f3266bb0
Simplify code paths a bit.
2005-02-21 12:48:39 +00:00
robocop
5490b60181
Do not make a new branch if the code is the same but with a different variable.
2005-02-14 05:54:45 +00:00
robocop
541e3054ac
Put common code into functions.
2005-02-14 05:51:25 +00:00
asfernandes
42efc07a3a
NULL literals should have DSC_nullable in dsc_flags
2005-02-13 00:37:18 +00:00
arnobrinkman
a15c361120
1) Make ordinal working on select list which contain an asterisk
...
Examples:
SELECT * FROM RDB$RELATIONS ORDER BY 9
SELECT R.* FROM RDB$RELATIONS R ORDER BY 9
2) Add ORDER BY <alias> and GROUP BY <alias>
Examples:
SELECT RDB$RELATION_ID AS ID
FROM RDB$RELATIONS ORDER BY ID
SELECT
RDB$RELATION_NAME AS ID,
Count(*)
FROM
RDB$RELATION_FIELDS
GROUP BY
ID
2005-02-10 21:14:52 +00:00
asfernandes
97e2c81aff
Fixed SF #1116809 - Incorrect data type conversion
2005-02-06 13:15:22 +00:00
dimitr
d7e75a86b1
Fixed some metadata issues with views.
2005-02-05 12:48:33 +00:00
robocop
d39363ad73
Regenerate parse.cpp after Nickolay's changes.
2005-01-30 02:14:26 +00:00
robocop
816f54be2e
Misc.
2005-01-30 02:13:23 +00:00
hvlad
9b809e2193
Allow EXECUTE BLOCK to work with blob parameters.
2005-01-26 14:52:38 +00:00
arnobrinkman
c8785f03cd
fix derived table issue with derived column list and columnname from sub-select
2005-01-24 23:02:08 +00:00
dimitr
3f3eb11ba4
Return relation alias via API. SQLDA stays untouched for the time being.
2005-01-23 15:53:36 +00:00
arnobrinkman
8147470e7f
Fix alias usage in explicit PLAN
2005-01-21 14:09:02 +00:00
robocop
e567a0791c
Regenerate parse.cpp after Dmitry's changes.
2005-01-21 08:54:07 +00:00
dimitr
84e104e7b7
More compatibility modes for the parser.
2005-01-20 12:33:54 +00:00
dimitr
8d6e675b75
Always zero blr/message memory before usage.
...
Otherwise a reused message may cause garbage to be copied to XDR
which in turn may cause asynchronous exceptions in the asymmetric protocol code.
2005-01-18 15:04:07 +00:00
robocop
72e54eb27d
First attempt to fix SF Bug #512975 .
...
Please let me know if the problem disappears or there's a bad side effect that I didn't detect.
2005-01-17 09:16:40 +00:00
robocop
6eabbaf772
Fix irrelevant SF Bug #512975 .
...
CR-LF => blank. No trimming is made.
2005-01-12 05:09:42 +00:00
robocop
8b573aa0da
Change the license with Mark's permission.
2005-01-12 04:22:32 +00:00
robocop
7e306b86a8
Misc.
2005-01-12 04:20:17 +00:00
arnobrinkman
383926e046
Fix another check constraint and ambigous field problem.
...
Are there any more options left?, sigh: tablename, NEW, OLD, TEMP
2005-01-06 18:17:10 +00:00
arnobrinkman
0dca8c738d
Fix sub-select in derived table issue (context already in used error)
2005-01-06 13:14:38 +00:00
dimitr
3d826cc06c
Minor corrections.
2005-01-05 12:15:51 +00:00
dimitr
f2d2ad2542
1. Allowed implicit NOT NULL declaration for a PRIMARY KEY constraint (per SQL-99)
...
2. Minor fixes and cleanup
2005-01-04 13:17:16 +00:00
robocop
b5317a413a
Totally misc.
2004-12-31 10:41:43 +00:00
alexpeshkoff
dd2f879401
dsql_set_cursor_name cleanup
2004-12-26 15:32:49 +00:00
robocop
d65307b497
Style.
2004-12-24 08:52:39 +00:00
robocop
24742873ad
fb_string.h is moved to common/classes.
2004-12-17 05:41:47 +00:00
arnobrinkman
ff9070d8e5
remove optimization in DSQL, this is now done in the optimizer (the place where it belongs)
2004-12-15 20:15:20 +00:00
robocop
3efa4c7648
Misc.
2004-12-12 02:03:58 +00:00
robocop
86fe265ff1
Put some variables in context.
2004-12-12 01:58:43 +00:00
robocop
5291dc6544
Restore checks for length. We don't need tokens bigger than 1KB.
2004-12-12 01:57:19 +00:00
robocop
430ad70ed4
Misc.
2004-12-11 00:08:55 +00:00
alexpeshkoff
387e678cca
applied Clumplet* classes to dpb where possible
2004-12-09 19:19:47 +00:00
robocop
0dd1aced53
Misc.
2004-12-09 02:50:47 +00:00
robocop
5e8ed6c4d3
Prevent buffer overrun.
2004-12-08 05:59:42 +00:00
robocop
950216de4e
Misc.
2004-12-08 05:58:41 +00:00
alexpeshkoff
637e5ed95a
use new classes to preparse 'create database' statement
2004-12-05 11:57:25 +00:00