aboutsummaryrefslogtreecommitdiff
path: root/src
Commit message (Collapse)AuthorAge
* Stylistic changes to src/trigger.c (partial fix to ticket #39). Also more ↵danielk19772002-05-17
| | | | | comments. (CVS 570) FossilOrigin-Name: b1d72cb5847a9f5f08e40b36ad117b5493232ea7
* Fix for ticket #42: Added comments to structs Trigger, TriggerStep and ↵danielk19772002-05-16
| | | | | TriggerStack. (CVS 569) FossilOrigin-Name: 9ec8a2b139ce38312284d7b4eb61221b1e1e3052
* Fix for ticket #41: Better handling of CREATE TRIGGER in the sqlite_complete()drh2002-05-15
| | | | | function. (CVS 567) FossilOrigin-Name: f45c4b767a6b1451787836060235ff7499dea0de
* Beginning to clean up the trigger code. Still lots of work to do. (CVS 566)drh2002-05-15
| | | FossilOrigin-Name: b10346818b25940c6dc85e94de8e36d20954161c
* Remove all tabs from the beginning of source code lines. Replace tabs withdrh2002-05-15
| | | | | the appropriate number of spaces. (CVS 565) FossilOrigin-Name: 690f9a163173c4c7af7e8e92e942cee4184c7974
* Added FOR EACH ROW triggers functionality (CVS 562)danielk19772002-05-15
| | | FossilOrigin-Name: 794bf67b6b36fce8854d5daff12f21dbb943240c
* Improvements to the SQLITE_MISUSE detection logic. Also added test casesdrh2002-05-10
| | | | | for this logic, including the new test file "misuse.test". (CVS 559) FossilOrigin-Name: f42907ce457e012592f8c043dc6c915e87258b35
* Attempt to detect when two or more threads try to use the same database atdrh2002-05-10
| | | | | | the same time and return an SQLITE_MISUSE error. Also return this error if an attempt is made to use a closed database. (CVS 558) FossilOrigin-Name: a05fabd2df1cb38c555a7b2f31b0ca687db500c2
* Fix for ticket #35: Ignore any ORDER BY clause on a subquery in a FROM ↵drh2002-05-08
| | | | | clause. (CVS 557) FossilOrigin-Name: 1b0ee944c9af10078aba628e85d79f8682afa2b6
* Fix for ticket #34: VIEWs ignore their ORDER BY clause. (CVS 556)drh2002-05-08
| | | FossilOrigin-Name: 5f22d21571acedbd6348b61445a7c408cde8d229
* Fix for tickets #32 and #33: Generate the names of the result set early, beforedrh2002-05-08
| | | | | | doing the flattening optimization or evaluating subqueries. Otherwise, the result set column names are generated incorrectly or after they are needed. (CVS 553) FossilOrigin-Name: 08f27cb36805d38648274b6fe91dec43a5910057
* Fix for ticket #31: Do not attempt the flattening optimization if thedrh2002-04-30
| | | | | | subselect does not contain a FROM clause. Handle the special case where a WHERE clause is constant. (CVS 548) FossilOrigin-Name: 24e4cf73d22bb41d26bf3c833f1854a9c90923e8
* Update the test logic and the comments on the encoder.c module. (CVS 546)drh2002-04-25
| | | FossilOrigin-Name: 18c28519d973944756694b2c213bfef3153f4b1b
* Added the "encode.c" source file that contains two utility subroutines thatdrh2002-04-25
| | | | | | | can be used to encode binary data for use in INSERT and UPDATE statements. This is just an initial checking. The code has not yet been integrated into the library. (CVS 545) FossilOrigin-Name: 57f7c59713299b03b10ba9c1a5883e2c08a8b138
* Fix for ticket #22: In the code generator for compound SELECT statements, takedrh2002-04-23
| | | | | | | care not to generate column name headers if the output is an intermediate table. Otherwise the column headers are not generated correctly if a compound SELECT statement appears as an expression in part of the WHERE clause. (CVS 543) FossilOrigin-Name: a06d9acdd5af0dc69b3a4d024de082631254aead
* Fix for ticket #21 (I think): Do not return an "out of memory" error if wedrh2002-04-21
| | | | | | can not find the users home directory. Instead, just report that we could not find the home directory. (CVS 540) FossilOrigin-Name: 8a50c57cc3342de9c6eca6c2567d3aa42b407f10
* Fix for ticket #1: Implement the GLOB and LIKE operators as functions thatdrh2002-04-20
| | | | | | can be overridden. This way, a developer can change the LIKE operator to be case sensitive, for example. (CVS 537) FossilOrigin-Name: 51572bf71774d7631c7083be90b806e621bc9bee
* Add support for saving the sqlite shell command-line history across ↵drh2002-04-19
| | | | | sessions. (CVS 536) FossilOrigin-Name: ca4abf3fe1f0e66802f9f98a20e0c8b82a6459aa
* Added rights release for Matthew O. Persico (CVS 535)persicom2002-04-19
| | | FossilOrigin-Name: 6c32c07e8218caffebd4503e7d8a90226ac81cdc
* Change shell.c so that it will compile under windows. Shorten the helpdrh2002-04-18
| | | | | command somewhat. Add the state of ".header" to the output of ".show". (CVS 534) FossilOrigin-Name: 0582168b8b853559b484f4a024d28c67192160c4
* Mistake in help text. Spurious trailing whitespace removed. (CVS 532)persicom2002-04-18
| | | FossilOrigin-Name: 4bdd040e4810565c91bcbb5f065580520c5e3c45
* General: persicom2002-04-18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Added global static chars mainPrompt and continuePrompt. o Moved Argv0 declaration to head of file. Needed in do_meta_command, previously found below that. o Added struct previous_mode_data to support new .explain toggle functionality. o Added nullvalue, explainPrev and outfile members to struct callback_data. o Added modeDescr array for number/text translation ofdisplay modes. o Modified zHelp to match new functionality. callback(): o Added support for .nullvalue do_meta_command(): o Output filename is now saved to callback struct. If using stdout, then the string "stdout" is saved. o Explain is now a toggle. When it is turned on, the current values of mode, header and colWidth are saved if not already in explain mode. When turned off, those values are restored. o Allow .mode plurals columns and lines and dot command plural .headers. o Added processing for new keywords .quit, .nullvalue, .show, .prompt. main(): o Added -init as an option to override .sqliterc. o Added -nullvalue as a command line option. o Processes .sqliterc. main_init(): o Genesis. Moved some initialization code here from inside main() so that it can be called initially by main and again if -init is specified. one_input_line(): o Now takes prompts from settable values. process_sqliterc(): o Genesis. Read .sqliterc from user's home directory and pass it to process_input(). File should contain meta commands for setups. (CVS 531) FossilOrigin-Name: e751338c468cdad79efcc5cd5b924eb2c1eb3c3a
* Fix for ticket #19: Do not call sqliteOsSync() if the only changes weredrh2002-04-18
| | | | | changes to TEMP tables. (CVS 530) FossilOrigin-Name: 33da20b9c1a8eef16ad7ab5929bb8937c75090f2
* When doing a ".dump" command in the command-line shell, make sure VIEWsdrh2002-04-13
| | | | | are created after TABLEs. (CVS 529) FossilOrigin-Name: 7edd13468e24d79939f0fa1e58f3b686422ca826
* Fix for bug #15: Add the sqlite_changes() API function for retrieving thedrh2002-04-12
| | | | | number of rows that changed in the previous operation. (CVS 526) FossilOrigin-Name: 6e71493b9dc77d508c3ce90562766789e87e6d80
* Fix for bug #16: Check for invalid functions in the VALUES clause of andrh2002-04-12
| | | | | INSERT statement. (CVS 525) FossilOrigin-Name: 43a77f019d34e1a6b3f502ad0ec31a00c8fdbe6e
* Fix for bug #11: Output the correct row count when and INSERT does andrh2002-04-09
| | | | | IGNORE action. (CVS 524) FossilOrigin-Name: bb83642e9a6c1c9ade861618496933c9f922a8f8
* Fix for bug #10: Pop the stack by the right amount on an IGNORE so that thedrh2002-04-09
| | | | | stack does not grow without bound. (CVS 523) FossilOrigin-Name: f46acfc3b828620e4e97b09f9aff119b9313e5d7
* Add a -column option to the sqlite command-line utility.drh2002-04-08
| | | | | Patch from Matthew O. Persico. (CVS 522) FossilOrigin-Name: 760bf568c882d7b28746b1e004309ef08d2ff4c0
* Added the last_insert_rowid() SQL function. (CVS 521)drh2002-04-06
| | | FossilOrigin-Name: 6aca3f86bc08849e9d806fdd490f98e4daf71025
* Make the FROM clause on a SELECT optional. If omitted, the result ofdrh2002-04-06
| | | | | the SELECT is a single row consisting of the values in the expression list. (CVS 520) FossilOrigin-Name: 28ce42f7872e2660faa22e66b508db9b1f046af0
* Add an fflush() call to shell.c to insure that all output has been writtendrh2002-04-04
| | | | | before we prompt for a new line of input. (CVS 519) FossilOrigin-Name: 932274187e045ce331177b1a640ed62da4a22d94
* Fix for bug #2: Add support for TABLE.* in SELECT statements. (CVS 518)drh2002-04-04
| | | FossilOrigin-Name: c2320eabfe44d6eb05c02b76547e5bd48a29943c
* Fix for bug #8: Correctly handle terms of a WHERE clause in a join where thedrh2002-04-02
| | | | | term does not use a comparison operator. (CVS 515) FossilOrigin-Name: abb12259a09418eb6e3cf573ea718ac58c91ac7b
* Fix for bug #6: Correctly handle functions in the WHERE clause of a join. ↵drh2002-04-02
| | | | | (CVS 513) FossilOrigin-Name: bdd8ce584e16fe288a7e8386f897cb36a60e8431
* Fix for bug #7: Correctly display the P3 operand in a VDBE trace when thedrh2002-04-02
| | | | | operand is really a pointer to a structure. (CVS 512) FossilOrigin-Name: 734dde765b38d61feaa5520e6481c77022367892
* When an attempt is made to insert an explicit NULL into an INTEGERdrh2002-03-31
| | | | | | | | PRIMARY KEY column, automatically convert the NULL value into a unique integer key. This was already happening when an implied NULL was inserted - when the INTEGER PRIMARY KEY column was omitted from the list of columns being inserted. Patches from Christian Werner. (CVS 510) FossilOrigin-Name: 9e3cf4aa2cb44932015b8bd3fd800d7678cb09b6
* Fix for bug #3: Allow VIEW as a column name. Also allow COPY. (CVS 507)drh2002-03-30
| | | FossilOrigin-Name: d2bdc0feeb3a3595850f40ab211df7a3963d6c30
* Added support for CASE expressions - patches from Dan Kennedy. (CVS 437)drh2002-03-24
| | | FossilOrigin-Name: 836b59d057c3fb4087b138c9bfbc03392ddfb89d
* The sqlite_get_table() function now returns an error if you pass in twodrh2002-03-23
| | | | | or more SELECT statements that return different numbers of columns. (CVS 436) FossilOrigin-Name: e2558c34034cf49524084ec819df58934a8af983
* Fix a bug in subquery generation when the subquery is a compound select.drh2002-03-23
| | | | | Also added new tests to cover this case. (CVS 435) FossilOrigin-Name: aaf7fd4cef04d3d70a0444aad1b606bfc663c3e8
* One more change before 2.4.2: Make the os.h header file more robust indrh2002-03-20
| | | | | detecting whether to use unix or windows. (CVS 434) FossilOrigin-Name: c2e0b79057c9c643e7432e62c90399c8f34339f9
* Fix an uninitialized variable in AggReset() (CVS 432)drh2002-03-18
| | | FossilOrigin-Name: 3dcdeae7f620736c1eae52ad78db1efb886ea9c3
* Bug fix: allow ROWID as a column in SELECT statements where the FROM clausedrh2002-03-14
| | | | | includes views which are flattened. (CVS 431) FossilOrigin-Name: a3a360b308e45eaaf19efda80e30f2d420799cf2
* Fix bug in anonymous subquery in a join. Parser requires a semicolon ordrh2002-03-13
| | | | | end-of-input before executing. (CVS 429) FossilOrigin-Name: c0e3f1c592f583a0659901743a368aff1927f1cb
* Fix the return type of the xStep function in the FuncDef structuredrh2002-03-12
| | | | | definition. (CVS 428) FossilOrigin-Name: 753adb789e1624ceeb52066df350dcd99aa4e3df
* Preparing for the 2.4.0 release. (CVS 426)drh2002-03-11
| | | FossilOrigin-Name: 9f5b241cb2fc89f66d3762b4b4978b8e114caf53
* Bug fix: updates within a transaction would fail if there was existeddrh2002-03-10
| | | | | a temporary table. (CVS 425) FossilOrigin-Name: 02cc2d60b2a5ee50efdbd90df90810ba559a453f
* Added prototypes to sqlite.h for sqlite_freemem(), sqlite_libversion()drh2002-03-08
| | | | | and sqlite_libencoding(). (CVS 424) FossilOrigin-Name: 145516c93b1a03231e7d84f7f799a39655d7aa99
* Fix a bug in the sorting of compound selects. (CVS 423)drh2002-03-07
| | | FossilOrigin-Name: 0a51323561b7235d46621d9fa25c7111b81c528f