Re: [sqlite] CEROD enable error: sqlite3_cerod_enable()

2009-11-20 Thread D. Richard Hipp
this agreement. For questions on how to compile and use CEROD, please use the same email address that you used to enter into the NDA in the first place. Thank you. D. Richard Hipp d...@hwaci.com ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] behavior of "collate" on views changed from 3.6.2 to 3.6.16 and beyond - intentional?

2009-11-24 Thread D. Richard Hipp
have a C program you can post that demonstrates the problem? >>> >>> Dan. >>> >>> >>> >>> ~/sqlite/tipbld$ ./sqlite3 >>> SQLite version 3.6.20 >>> Enter ".help" for instructions >>> Enter SQL statements terminated with a ";" >>> sqlite> CREATE TABLE foo(i text); >>> sqlite> INSERT INTO foo VALUES('a'); >>> sqlite> INSERT INTO foo VALUES('B'); >>> sqlite> INSERT INTO foo VALUES('c'); >>> sqlite> CREATE VIEW foo_view AS SELECT i FROM foo; >>> sqlite> SELECT i FROM foo ORDER BY i COLLATE nocase; >>> a >>> B >>> c >>> sqlite> SELECT i FROM foo_view ORDER BY i COLLATE nocase; >>> a >>> B >>> c >>> sqlite> SELECT i FROM foo ORDER BY i; >>> B >>> a >>> c >>> sqlite> SELECT i FROM foo_view ORDER BY i; >>> B >>> a >>> c >>> sqlite> >>> >>> >>> >>> ___ >>> sqlite-users mailing list >>> sqlite-users@sqlite.org >>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >>> >> >> > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users D. Richard Hipp d...@hwaci.com ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] trigger on update bug in 3.6.20?

2009-11-24 Thread D. Richard Hipp
e data > is not reflected in the table after the update statement is > complete. I > didn't look at the vdbe. > anyone seen this behavior? > > thanks > ___ > sqlite-users mailing list > sq

Re: AW: AW: [sqlite] INSERT OR IGNORE and sqlite3_last_insert_rowid()

2007-10-28 Thread D. Richard Hipp
turn? 1, 2, or 3? D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

[sqlite] How many virtual table implemenations are there out there?

2007-11-01 Thread D. Richard Hipp
table implementation (other than the ones that are included with SQLite - such as FTS1-3) that will be broken by an API change, please let me know. And please also advice me how much of a hardship a change would be for you. D. Richard H

Re: [sqlite] Request for help with the SQLite Website

2007-11-13 Thread D. Richard Hipp
, it is often a good idea to run your GUI in a separate process from your compute engine so that long computations don't free the display. D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Request for help with the SQLite Website

2007-11-13 Thread D. Richard Hipp
l to [EMAIL PROTECTED] ------ --- D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] sqlite and lemon operator precedence problem/question

2007-11-17 Thread D. Richard Hipp
NOT operator '~' have the highest precedence? SQLite version 3.5.2 Enter ".help" for instructions sqlite> select ~1 - ~5; -8 sqlite> select (~1) - (~5); 4 That would be a bug in lemon... D. Richard Hipp [EMAIL PROTECTED] -

Re: [sqlite] sqlite and lemon operator precedence problem/question

2007-11-17 Thread D. Richard Hipp
On Nov 17, 2007, at 5:12 PM, D. Richard Hipp wrote: On Nov 17, 2007, at 4:58 PM, Joe Wilson wrote: I'm having difficulty with Lemon's operator precedence. That would be a bug in lemon... I was wrong. Turns out the bug was in the SQLite grammar file parse.y. It was assignin

Re: [sqlite] sqlite and lemon operator precedence problem/question

2007-11-17 Thread D. Richard Hipp
erator precedence as the SQL standard requires. If I am wrong about that, please correct me and I will change it. On the other hand, changing the operator precedence to agree with MySQL or MSSQL is not something we are interested in doing if they are using a non-standard precedence. D. Richar

Re: [sqlite] Memory Usage

2007-11-18 Thread D. Richard Hipp
system. On Linux systems that typically use Doug Lea's malloc, there is no measurable performance difference. But I have had some people running embedded systems tell me that using the malloc-free SQLite results in a significant speed boost. Your mileage may vary. D. Richard Hipp [EMAIL PROT

Re: [sqlite] Memory Usage

2007-11-19 Thread D. Richard Hipp
On Nov 19, 2007, at 12:36 PM, James Dennett wrote: -Original Message- From: John Stanton [mailto:[EMAIL PROTECTED] Sent: Monday, November 19, 2007 7:36 AM To: sqlite-users@sqlite.org Subject: Re: [sqlite] Memory Usage Not only applicable to real time systems. If you want a program to

Re: [sqlite] Threading (again)

2007-11-25 Thread D. Richard Hipp
connection. SQLite contains its own mutexes to serialize access. D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] 3.5.x and pthreads design

2007-11-25 Thread D. Richard Hipp
same database within the same process and use them independently and locking should work correctly. You should not have to change anything. It should just work. D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] ORDER BY Performance on 30,000 records

2007-12-02 Thread D. Richard Hipp
ng like 30 ms. Tried to index also 'ModifiedDate' but it didn't help. What am i doing wrong? Thanks, Ofir Neuman. D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] PATCH: compound query column naming and resolving (Ticket #2822)

2007-12-08 Thread D. Richard Hipp
ously here. D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Huge performance drop when using prepared statement

2007-12-09 Thread D. Richard Hipp
ze a GLOB where the right parameter is a literal string. It will not do so if the right parameter is a parameter. http://www.sqlite.org/optoverview.html#like_opt D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Improving performance of SQLite. Anyone heard of DeviceSQL?

2007-12-15 Thread D. Richard Hipp
nt is sometimes imperfectly executed, but it is my goal. If that means that SQLite is uncompetitive, then so be it. D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Next Version of SQLite

2008-01-12 Thread D. Richard Hipp
SQLite is very thorough, but I have found that users can be very creative in stressing SQLite in ways that I would have never imagined, and have not developed tests for. D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe

Re: [sqlite] Next Version of SQLite

2008-01-13 Thread D. Richard Hipp
test SQLite and the thoroughness of the test suite. Not much is likely to slip through the cracks. D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Next Version of SQLite

2008-01-13 Thread D. Richard Hipp
work on and less error prone. An entire class of errors (stack overflow) such as the recent ticket #2832 (which could cause database corruption) will become impossible since the VM will no longer have a stack to overflow. D. Richard Hipp [EMAIL PROTECTED

Re: [sqlite] Next Version of SQLite

2008-01-13 Thread D. Richard Hipp
On Jan 13, 2008, at 7:53 PM, Gerry Snyder wrote: Joe Wilson wrote: --- "D. Richard Hipp" <[EMAIL PROTECTED]> wrote: There are people on this mailing list (ex: Joe Wilson) who appear to read every line of every change that we make to SQLite, within minutes of making them,

Re: [sqlite] Variable substitution (TCL & SQLite)

2008-01-17 Thread D. Richard Hipp
is reason. But sometimes, when you want the text of your SQL statement to be under program control, you want to use "..." instead. Just be very sure you know exactly what you are doing whenever you use "..." D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Foreign Constraint Triggers Across Attached Databases

2008-01-24 Thread D. Richard Hipp
] -- --- D. Richard Hipp [EMAIL PROTECTED] - To unsubscribe, send email to [EMAIL PROTECTED] -

[sqlite] Testing the new SQLite mailing list

2008-02-02 Thread D. Richard Hipp
This is the initial test message for the new SQLite mailing list, using GNU mailman now instead of ezmlm. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite

Re: [sqlite] How to select Strict Affinity or No Affinity modes?

2008-02-02 Thread D. Richard Hipp
ver implemented it, having never seen any benefit for such a thing. Can you explain why you think strict affinity mode might be beneficial to you? If somebody can provide a good enough rational to justify strict affinity mode, we might just put it

Re: [sqlite] I want to this project but I need help..

2008-02-19 Thread D. Richard Hipp
ntil you login. Userid="anonymous" Password="anonymous". Then click on the link again. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] TCL & tester.tcl question

2008-03-28 Thread D. Richard Hipp
o instead of saying: sqlite3_prepare $::DB ... we can now say: sqlite3_prepare db ... which is much more convenient. However, the test scripts have been generated incrementally over the past 8 years and most of them have not been upgraded to take advantage of the ne

Re: [sqlite] "Unsupported File Format" from 3.1.3

2008-03-29 Thread D. Richard Hipp
ewer database with an historic version of SQLite - that would be forwards compatibility. SQLite is generally forwards compatible, except when the newer database uses features which were added later. The added feature is probably a descending index. D. Richard Hipp [EMAIL PROTECTED] _

Re: [sqlite] mem5 ("buddy system") usable?

2008-03-31 Thread D. Richard Hipp
m all tomorrow. But mem5 is high on the list of memory allocators to keep since it can, under some circumstances, guarantee not to fragment memory, which is a desirable property for embedded systems. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-us

Re: [sqlite] mem5 ("buddy system") usable?

2008-04-01 Thread D. Richard Hipp
On Apr 1, 2008, at 2:37 PM, Richard Klein wrote: >> > Fair enough. But can I assume that mem5 *does* currently > work, as far as you know? (I'd really like to use it, as > I'm using SQLite on an embedded system.) > mem5 works as far as I know. D. R

Re: [sqlite] Trigger's actions and callbacks

2008-04-02 Thread D. Richard Hipp
s to the db inside callback > > sqlite3_prepare((sqlite3*)data_arg_3, [...]) > > , an error SQLITE_MISUSE is returned to me SQLite is not reentrant through the update hook. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sq

Re: [sqlite] sqlite3_finalize(pReadStmt); and sqlite3_close(pDB);

2008-04-03 Thread D. Richard Hipp
en which uses some memory and at least one file descriptor. If you really are never going to use the database again (or at least not soon) it is better to call sqlite3_close() too. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlit

Re: [sqlite] sqlite3_aggregate_context with C++ classes

2008-04-03 Thread D. Richard Hipp
On Apr 3, 2008, at 3:39 PM, Steven Fisher wrote: > Can Final be called without Step first being called? Yes. > > > If Step is called, will Final always be called? Yes D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list

Re: [sqlite] 3.5.7 & TCL: "undefined symbol: sqlite3StrICmp"

2008-04-04 Thread D. Richard Hipp
brary on disk. Different strokes for different folks, I guess... Anyway, you can fix the problem by either using the precompiled binaries, or downloading the latest from CVS. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite

Re: [sqlite] French Translation of SQLite documentation

2008-04-05 Thread D. Richard Hipp
27;ll try to figure out some way to have pointers from the English-language pages over to the translated pages. This same offer applies to anybody else who wants translate SQLite documentation into any other living language. D. Richard Hipp [EMAIL PROTECTED] ___

Re: [sqlite] French Translation of SQLite documentation

2008-04-05 Thread D. Richard Hipp
> > Thank you for your answer D. Richard, > > So I continue the translation and I will see fossil for future. > Can you take a ticket for this evolution ? > We can work with you to import your translation whenever you are ready. D. Richard Hip

Re: [sqlite] What is the standard way to store dates and do operations with dates please?

2008-04-06 Thread D. Richard Hipp
alendar refer to two different people named Julius. The Julian Day Number Julian is Julius Scaliger, the father of the guy who invented the julian day number in 1583. Julian in Julian Calendar refers to Julius Caesar, the Roman emperor. The date and time routines in SQLite use the Gregorian calend

Re: [sqlite] What is the standard way to store dates and do operations with dates please?

2008-04-07 Thread D. Richard Hipp
On Apr 7, 2008, at 6:27 PM, Dennis Cote wrote: > D. Richard Hipp wrote: >> >> See http://en.wikipedia.org/wiki/Julian_day >> >> Note that "Julian" in Julian Day Number and Julian Calendar >> refer to two different people named Julius. The Julian D

Re: [sqlite] how to add extensions to amalgamation

2008-04-08 Thread D. Richard Hipp
o C-savvy but can blunder my way around. (am reading a > basic C tutorial right now). > You might be interested in sqlite3_auto_extension http://www.sqlite.org/c3ref/auto_extension.html D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list

Re: [sqlite] for function extension in sqlite3

2008-04-08 Thread D. Richard Hipp
On Apr 8, 2008, at 12:57 PM, dark0s dark0s wrote: > Hi all, I'd like write extension for sqlite3 creating soundex > function like below: > SQLite already contains a soundex function. You just have to recompile using -DSQLITE_SOUNDEX=1 D. Richard Hipp [E

Re: [sqlite] Direct access to Btree routines in SQLite

2008-04-09 Thread D. Richard Hipp
u ignore this advice and decide to use the BTree routines directly, and your code breaks or malfunctions due to some unseen subtly or some future change, then the rule is: "No Tears". D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Documentation for the register based VM?

2008-04-10 Thread D. Richard Hipp
nerator. But you should know that we are not through changing it yet and more big changes could appear in future releases. The virtual machine in SQLite is not an API and we make positively zero effort to maintain backwards compatibility from one point release to the next. D. Richard Hi

Re: [sqlite] Planner choosing wrong index

2008-04-10 Thread D. Richard Hipp
ot; in front of the column name). The plus sign is a no-op - it generates no code and returns the value of its operand unchanged even if the value is a string. But it also disables the term as a candidate for using indices. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLITE_LOCKED behavior

2008-04-13 Thread D. Richard Hipp
LOCKED errors and I came across > that page. Are these the only times you can get SQLITE_LOCKED errors? If you are in the middle of a SELECT statement and from the same database connection you try to DROP one of the tables that is being read, the DROP statement will return SQLITE_LOCKED. D

Re: [sqlite] SQLITE_LOCKED behavior

2008-04-14 Thread D . Richard Hipp
be able to DROP a table out from under a reader. I am not aware of any reason why you cannot retry an SQLITE_LOCKED error after a delay, however. Have you actually tried doing that? Is it giving you trouble? D. Richard Hipp [EMAIL PROTECTED] ___ sqli

Re: [sqlite] SQLITE_LOCKED behavior

2008-04-14 Thread D. Richard Hipp
SQLITE_MISUSE > being returned. > Did you call sqlite3_reset() before each retry? D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Table modifications and analyze

2008-04-14 Thread D. Richard Hipp
into every new database you create with the same schema. Some database engines benefit from running ANALYZE periodically. SQLite does not, in general. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.o

Re: [sqlite] SQLite>=3.5.6 does not open database file

2008-04-14 Thread D. Richard Hipp
On Apr 14, 2008, at 4:53 PM, D. Richard Hipp wrote: > > On Apr 14, 2008, at 4:47 PM, Steve Topov wrote: >> I can open the file with 3.3.5. I did not try to dump it and recreate >> with 3.5.6. >> > > With version 3.5.5, please do this: > > sqlite3 you

Re: [sqlite] SQLite>=3.5.6 does not open database file

2008-04-14 Thread D. Richard Hipp
On Apr 14, 2008, at 4:47 PM, Steve Topov wrote: > I can open the file with 3.3.5. I did not try to dump it and recreate > with 3.5.6. > With version 3.5.5, please do this: sqlite3 yourdatabasefile.db .schema >schema.txt then email me schema.txt file. D. Richard Hipp [EMA

Re: [sqlite] SQLite>=3.5.6 does not open database file

2008-04-14 Thread D. Richard Hipp
On Apr 14, 2008, at 6:58 PM, Steve Topov wrote: > 1.8 Meg > email it to me, please. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLite>=3.5.6 does not open database file

2008-04-14 Thread D. Richard Hipp
roblems on MacOSX using SQLite version 3.4.0, 3.5.6, 3.5.7 and the latest in CVS. I ran PRAGMA integrity_check using all four versions of SQLite and all return "ok". D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sq

Re: [sqlite] Transaction across threads

2008-04-15 Thread D. Richard Hipp
one can have a write transaction open and one or more others can have a read transaction open, but you cannot have two or more write transactions active at once and all of the read transactions will need to close prior to the write transaction committing (otherwise the writer g

Re: [sqlite] SQLITE_OMIT_TRIGGER compilation problems

2008-04-16 Thread D. Richard Hipp
ros you much compile from canonical sources using a unix-like development environment. The reason for this is that SQLite includes several code files that contain automatically generated code. And the generated code depends on which OMIT macros are present. D. Richard Hipp [EMA

[sqlite] SQLite version 3.5.8

2008-04-16 Thread D. Richard Hipp
. Richard Hipp [EMAIL PROTECTED] P.S.: As I type this, two test failures have emerged in the new release: utf16-bind-6.4 and utf16-bind-7.4. Both failures are benign. The fault is actually in the test script, not in SQLite itself. The test script in these cases assumes a UTF8 database and hence

Re: [sqlite] SQLite version 3.5.8

2008-04-16 Thread D. Richard Hipp
shell.c code. > > Was this intended ? > There are a dozen different build products in the latest release. I'm sorry that the one you wanted is not there. Perhaps we can find time to add it later. D. Richard Hipp [EMAIL PROTECTED] ___ sql

Re: [sqlite] SQLite>=3.5.6 does not open database file

2008-04-16 Thread D. Richard Hipp
ubject: Re: [sqlite] SQLite>=3.5.6 does not open database file > > I am on Windows XP using sqlite 3.5.6 dll created from the source. Why don't you try the pre-compiled DLLs off of the website. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite

Re: [sqlite] OUTER JOIN and PRIMARY KEY in 3.5.8

2008-04-17 Thread D. Richard Hipp
It is doing a nested > table scan instead of using the index for the left join. > Likely this has to do with ticket #3015. http://www.sqlite.org/cvstrac/tktview?tn=3015 D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-

Re: [sqlite] OUTER JOIN and PRIMARY KEY in 3.5.8

2008-04-17 Thread D. Richard Hipp
owners.owner_id = pets.owner_id instead if what you have. In other words, put the table on the left side of the join before the equals sign instead of after it. It shouldn't make any difference. SQLite should generate exactly the same code regardless of whether you say A=B or B=

Re: [sqlite] how to select uncomitted rows?

2008-04-17 Thread D. Richard Hipp
an multiple pages. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] no VFS error

2008-04-19 Thread D. Richard Hipp
p would be appreciated > What value are you passing as the 4th argument to sqlite3_open_v2()? (I assume you are using sqlite3_open_v2() since that seems the mostly likely way to get this error.) D. Richard Hipp [EMAIL PROTECTED] ___ sqli

Re: [sqlite] EXISTS operator doesn't seem to work

2008-04-19 Thread D. Richard Hipp
here ORT.person_id = register.person_id and ORT.document_id = register. document_id); D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] no VFS error

2008-04-19 Thread D. Richard Hipp
k string - this would appear to be the problem! > errorCode = sqlite3_open_v2("data/texts.db", &dataBase, > SQLITE_OPEN_READONLY, ""); > A null pointer (aka zero). 0. Very different from an empty string. D. Richard Hipp [EMAIL PROTECTED] __

Re: [sqlite] a suggestion to write tutorial for sqlite

2008-04-19 Thread D. Richard Hipp
mailing list if you think it would help. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] a suggestion to write tutorial for sqlite

2008-04-21 Thread D. Richard Hipp
FWIW, I'll be happy to give write access to the documentation repository (http://www.sqlite.org/docsrc/) and even a prestigious "sqlite.org" email alias to anybody who is willing to step up and make some improvements and updates to the current documentation. D. Richard Hipp [

Re: [sqlite] blob api

2008-04-21 Thread D. Richard Hipp
ext easily in f.i. SQLiteSpy. > Perhaps: SELECT CAST(b AS TEXT) FROM table Really I suppose it depends on what SQLiteSpy is using to determine that the column type is BLOB. If you can subversion that mechanism into thinking the column type is TEXT, then it should just work. D

Re: [sqlite] SQLITE_OMIT_xxx

2008-04-21 Thread D. Richard Hipp
I suggest you use a C compiler instead. Surely Visual Studio must include a C compiler. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Problems with SQLITE_OMIT_xxx

2008-04-21 Thread D. Richard Hipp
ateView referenced in function _yy_reduce > > Are there any workarounds for these, or will > I have to remove the above OMIT options? > > Thanks, > - Richard > ___ > sqlite-users mailing list > s

Re: [sqlite] SQLITE_OMIT_PAGER_PRAGMAS

2008-04-22 Thread D. Richard Hipp
AGER_PRAGMAS the cache_size pragma is omitted. A feature of the PRAGMA command is that unrecognized pragmas are silently ignored. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Concurrency access to SQLite

2008-04-24 Thread D. Richard Hipp
;>>>>>> more >>>>>>> than N*2 sec and dies on my SQLITE_BUSY asserts :/ >>>>>>> >>>>>>> So, I am wondering, is there any ideas how to avoid this? >>>>>>> >>>>>> >>>>>> ___ >>>>>> sqlite-users mailing list >>>>>> sqlite-users@sqlite.org >>>>>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >>>>>> >>>>> >>>>> >>>>> >>>> >>>> ___ >>>> sqlite-users mailing list >>>> sqlite-users@sqlite.org >>>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >>>> >>> >>> >>> >>> -- >>> Alexander Batyrshin aka bash >>> bash = Biomechanica Artificial Sabotage Humanoid >>> ___ >>> >>> sqlite-users mailing list >>> sqlite-users@sqlite.org >>> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >>> >> ___ >> sqlite-users mailing list >> sqlite-users@sqlite.org >> http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users >> > > > > -- > Alexander Batyrshin aka bash > bash = Biomechanica Artificial Sabotage Humanoid > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users > D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] 3.5.8 alot slower than 3.5.7

2008-04-25 Thread D. Richard Hipp
On Apr 25, 2008, at 9:19 AM, Eric Minbiole wrote: >> This works great but when I upgraded from 3.5.7 to 3.5.8 the speed of >> this select went from 0.2s to around 1 minute. And 3.5.8 is stealing >> ALOT more memory. > > D. Richard Hipp had a very helpful work-around for t

Re: [sqlite] how is sqlitedll-3.5.8.zip built?

2008-04-30 Thread D. Richard Hipp
n. Is that correct? If so, what options are > defined when it is being built? If not, how is it built? > > TIA > Dennis Cote > ___ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/cgi-bin/mailman/li

[sqlite] Proposed incompatible changes to the SQLite VFS layer

2008-05-02 Thread D. Richard Hipp
work on version 3.6.0. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Proposed incompatible changes to the SQLite VFS layer

2008-05-02 Thread D. Richard Hipp
mode Before you rush out and try this on 3.5.8, please note that it is currently only available in CVS HEAD. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] property/config file for SQLite

2008-05-03 Thread D. Richard Hipp
. The lack of a configuration file is a feature, not a bug. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLite & TCL: A "SELECT" from one-column table

2008-05-03 Thread D. Richard Hipp
> tclsh8.5 [~/tmp/tcltk]dbcomm eval "SELECT a_string FROM something" > Version V8.5 > > Why so much parentheses? A list, nested in a list, nested in a list? > But why? I get just {Version V8.5} when I try this. D. Richard Hipp [EMAIL PROTECTED]

Re: [sqlite] Proposed incompatible changes to the SQLite VFS layer

2008-05-03 Thread D. Richard Hipp
On May 3, 2008, at 12:30 AM, Roger Binns wrote: > > I would like a #define of the current version number. http://www.sqlite.org/c3ref/c_version.html D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.or

Re: [sqlite] splite database under version control (subversion)?

2008-05-04 Thread D. Richard Hipp
at is just the nature of binary files. I don't think any SCM system is able to diff or merge arbitrary binary files. There may be modules for diffing and merging specific binary files formats (ex: DOC files) but not arbitrary binary files nor likely SQLite database files. So take ca

Re: [sqlite] import files with more than 2GB?

2008-05-05 Thread D. Richard Hipp
e core SQLite, btw. It is part of the CLI. You can find the code by searching for "import" in the shell.c source file. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] PRAGMA journal_mode not implemented?

2008-05-06 Thread D. Richard Hipp
IST mode nearly as carefully as we have the existing DELETE mode. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Porting into a microcontroller, minimum requirements

2008-05-06 Thread D. Richard Hipp
orage (SD card). Has > anyone ported > this before to an embedded system without an OS? > I have doubts that you will be able to get SQLite to work on anything less than a 32-bit processor. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-u

Re: [sqlite] PRAGMA journal_mode not implemented?

2008-05-07 Thread D. Richard Hipp
the correctness of the database. In PERSIST journaling mode, you never know and you delete the file at your peril. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] corrupt database with update?

2008-05-08 Thread D. Richard Hipp
On May 8, 2008, at 2:54 AM, C M wrote: > How likely (or possible) is it to corrupt or in some way screw up an > SQlite database if one is doing an UPDATE and it fails? (computer goes > out, etc.) Thank you.\ http://www.sqlite.org/atomiccommit.html D. Richard Hipp [EMAIL

[sqlite] Who is using SQLite prior to version 3.3.0?

2008-05-12 Thread D. Richard Hipp
format 1 databases to be used as the default. FWIW, SQLite version 3.3.0 was released over 2 years ago on January 10, 2006. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailma

Re: [sqlite] Who is using SQLite prior to version 3.3.0?

2008-05-12 Thread D. Richard Hipp
older database will continue to be readable and writable by newer versions of SQLite. The only time this will cause a problem is when you create a new database file using SQLite 3.6.0 or later and then try to read or write that file using a different version of SQLite that is more than 2

Re: [sqlite] ATTACH problem

2008-05-13 Thread D. Richard Hipp
; than one thread (it is failing in worker thread). > sqlite3_step() returns SQLITE_MISUSE , but _sqlite3_errmsg() returns > "database is locked". > What can be the problem? What does sqlite3_threadsafe() return? D. Richard Hipp [EMAIL PROTECTED]

Re: [sqlite] sqlite3_transfer_bindings obsolete?

2008-05-13 Thread D. Richard Hipp
for sqlite3_transfer_bindings(), though. You are using sqlite3_prepare_v2() in place of sqlite3_prepare() I trust. You should be if you are not since applications that use sqlite3_prepare_v2() are less prone to bugs in error handling logic (by virtue of the fact that they can essential

Re: [sqlite] Undo logs and transactions

2008-05-13 Thread D. Richard Hipp
r when you stop one undoable entry and start a new one is: you are idle (no pending events) and you are not holding a grab. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

[sqlite] Proposed SQLite C/C++ interface behavior change.

2008-05-13 Thread D. Richard Hipp
anybody have any thoughts on this proposed behavior changes for the sqlite3_close() interface? D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Proposed SQLite C/C++ interface behavior change.

2008-05-13 Thread D. Richard Hipp
On May 13, 2008, at 8:02 PM, Scott Hess wrote: > On Tue, May 13, 2008 at 4:51 PM, D. Richard Hipp <[EMAIL PROTECTED]> > wrote: >> The currently documented behavior of sqlite3_close() is that when it >> called on a database connection that has unfinalized prepared &g

[sqlite] SQLite version 3.5.9

2008-05-14 Thread D. Richard Hipp
ges in the VFS layer used to tie SQLite into the underlying operating system. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] SQLite version 3.5.9

2008-05-14 Thread D. Richard Hipp
On May 14, 2008, at 1:59 PM, Petite Abeille wrote: > Hello, > > On May 14, 2008, at 7:17 PM, D. Richard Hipp wrote: > >> There is also a new *experimental* PRAGMA called "journal_mode" >> which can provide performance improvements under some circumstances. &

Re: [sqlite] SQLite version 3.5.9

2008-05-14 Thread D. Richard Hipp
On May 14, 2008, at 2:14 PM, Petite Abeille wrote: > > On May 14, 2008, at 8:10 PM, D. Richard Hipp wrote: > >> Works for me. Did you compile the shell yourself or use the prebuilt >> binary? > > I did compile it myself. Any additional configuration(s) one should &g

Re: [sqlite] SQLite version 3.5.9

2008-05-14 Thread D. Richard Hipp
ysically resides on a remote machine, you should probably use a client/server database engine with the server located on the same machine where the data lives. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org ht

Re: [sqlite] Baffling SQLite statement

2008-05-19 Thread D. Richard Hipp
=-=-=-=-=-=-=-=-= > Check out PHPenguin, a lightweight and versatile > PHP/MySQL, AJAX & DHTML development framework. > http://phpenguin.bigskypenguin.com/ > _______ > sqlite-users mailing list > sqlite-users@sqlite.org > http://sqlite.org:8080/c

Re: [sqlite] Baffling SQLite statement

2008-05-19 Thread D. Richard Hipp
r VARCHAR(4) NOT NULL DEFAULT '0', > endyear VARCHAR(4) NOT NULL DEFAULT '0', > options TEXT NOT NULL, > productcodesize VARCHAR(10), > productdesc VARCHAR(200), > pattern VARCHAR(10) > ); What does this show: SELECT DISTINCT typeof(startyear) FROM bsp_opti

Re: [sqlite] Baffling SQLite statement

2008-05-19 Thread D. Richard Hipp
On May 19, 2008, at 9:16 PM, Skip Evans wrote: > D. Richard Hipp wrote: >> What does this show: >> >>SELECT DISTINCT typeof(startyear) FROM bsp_options; >>SELECT DISTINCT typeof(endyear) FROM bsp_options; >> > I pasted those two statements into the

Re: [sqlite] blob error

2008-05-20 Thread D. Richard Hipp
qlite for blobclo is > 10 but why i get this error > That limit can be lowered at compile-time and in more recently versions at run-time. Perhaps turbogears is lowering the limit on you. D. Richard Hipp [EMAIL PROTECTED] ___ sqlite

Re: [sqlite] Bind arguments for insert and not null columns with default values

2008-05-20 Thread D. Richard Hipp
umn to NULL I get a constraint error. > REPLACE INTO foo(bar) VALUES(?) D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Bind arguments for insert and not null columns with default values

2008-05-20 Thread D. Richard Hipp
> OK. How about: INSERT INTO foo(bar) VALUES(coalesce(?,'default-value')); D. Richard Hipp [EMAIL PROTECTED] ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

<    1   2   3   4   5   6   7   8   9   10   >