Greg Carter wrote:
>
> We recently upgraded to 1.0.80.0 from 1.0.77.0 and have found when we turn
> connection pooling on we get seemingly random memory access violations
that
> happen in calls to UnsafeNativeMethods.sqlite3_busy_timeout ,call stack -
> Open/SetTimeout (line 259 of SQLite3.cs).
On Fri, Apr 27, 2012 at 7:04 PM, Richard Hipp wrote:
> On Fri, Apr 27, 2012 at 6:45 PM, Pavel Ivanov wrote:
>> > If two database connections share the same cache, and one connection
>> rolls
>> > back, that means it will be changing cache content out from
On Fri, Apr 27, 2012 at 6:45 PM, Pavel Ivanov wrote:
> > If two database connections share the same cache, and one connection
> rolls
> > back, that means it will be changing cache content out from under the
> other
> > database connection, so any queries ongoing in the other
> The insert finishes before the select finishes, but the new row does not
> show up
> in the select either (not that I'm sure if it should or not, I guess that
> might
> be a dirty read). I'm not really sure if this is fully intended behavior or
> not ...
That's indeed an intended behavior for
> If two database connections share the same cache, and one connection rolls
> back, that means it will be changing cache content out from under the other
> database connection, so any queries ongoing in the other connection have to
> abort.
Richard,
Could you please explain this? I understand
On 04/27/2012 04:38 PM, Richard Hipp wrote:
Disable shared cache mode and you should be good to go.
If two database connections share the same cache, and one connection rolls
back, that means it will be changing cache content out from under the other
database connection, so any queries ongoing
On 27 Apr 2012 at 22:16, Simon Slavin wrote:
> On 27 Apr 2012, at 9:00pm, Tim Streater wrote:
>> delete from addressbook where absid=(select personnick from grouplinks where
>> groupnick='27')
>>
>> The 'select personnick ...' can return zero,
On 27 Apr 2012, at 9:00pm, Tim Streater wrote:
>
> delete from addressbook where absid=(select personnick from grouplinks where
> groupnick='27')
>
> The 'select personnick ...' can return zero, one, or many results, and I'd
> like to have the 'delete from ...'
On Fri, Apr 27, 2012 at 3:50 PM, Brad House wrote:
> On 04/27/2012 02:00 PM, Brad House wrote:
>
>>
>> Only the connection that does the rollback has its queries aborted.
>>>
>>
>> That is not the behavior I am seeing in 3.7.11, but was the behavior
>> I saw in 3.7.10.
>>
>>
On 27 Apr 2012 at 21:03, Stephan Beal wrote:
> On Fri, Apr 27, 2012 at 10:00 PM, Tim Streater wrote:
>
>> delete from addressbook where absid=(select personnick from grouplinks
>> where groupnick='27')
>
> i think what you want is IN instead of =.
On Fri, Apr 27, 2012 at 10:00 PM, Tim Streater wrote:
> delete from addressbook where absid=(select personnick from grouplinks
> where groupnick='27')
>
i think what you want is IN instead of =.
--
- stephan beal
http://wanderinghorse.net/home/stephan/
I'd like to delete multiple rows using the following syntax, but experiment
appears to show that at most one row is deleted. I tried the following:
delete from addressbook where absid=(select personnick from grouplinks where
groupnick='27')
The 'select personnick ...' can return zero, one,
Ok, I guess attachments don't come through.
I've uploaded it here:
http://www.brad-house.com/other/sqlite_test.c
-Brad
On 04/27/2012 03:50 PM, Brad House wrote:
On 04/27/2012 02:00 PM, Brad House wrote:
Only the connection that does the rollback has its queries aborted.
That is not the
On Fri, Apr 27, 2012 at 3:50 PM, Brad House wrote:
>
>
> As promised, I've attached a test case which uses the SQLITE amalgamation.
>
The mailing list strips attachments. Send us a link, instead.
--
D. Richard Hipp
d...@sqlite.org
On 04/27/2012 02:00 PM, Brad House wrote:
Only the connection that does the rollback has its queries aborted.
That is not the behavior I am seeing in 3.7.11, but was the behavior
I saw in 3.7.10.
If you are seeing other connections get queries aborted, that is something
new that I have not
Only the connection that does the rollback has its queries aborted.
That is not the behavior I am seeing in 3.7.11, but was the behavior
I saw in 3.7.10.
If you are seeing other connections get queries aborted, that is something
new that I have not seen before and will need to investigate.
Gabriel Corneanu (and others) ask:
Off-topic: what do I need to do for a proper reply??
If your email client is setup to handle 'mailto:' URLs, clicking on the
one just to the right of the poster's name will initiate a reply which
has the 'Subject' and 'In-Reply-To' headers filled in. The
Greg Carter, on Fri Apr 27, wrote:
We recently upgraded to 1.0.80.0 from 1.0.77.0 and have found when we turn
connection pooling on we get seemingly random memory access violations that
happen in calls to UnsafeNativeMethods.sqlite3_busy_timeout ,call stack -
Open/SetTimeout (line 259 of
We recently upgraded to 1.0.80.0 from 1.0.77.0 and have found when we turn
connection pooling on we get seemingly random memory access violations that
happen in calls to UnsafeNativeMethods.sqlite3_busy_timeout ,call stack -
Open/SetTimeout (line 259 of SQLite3.cs).
After compiling SQLite debug
On 27.04.2012 15:08, Gabriel Corneanu wrote:
> With the amalgamation, it's also quite easy to compile to one obj and
> link directly in Delphi (similar to jpeg; that's probably what you also
> do). No pun intended, why should I pay for it?
- DISQLite3 Personal edition if free!
- DISQLite3 is
Off-topic: what do I need to do for a proper reply??
Depends on your email client (I see you are using Opera Mail which I
don't know). In general it should include the "In-Reply-To" and
"References" header.
Mircea
On 27/04/2012 9:08 AM, Gabriel Corneanu wrote:
I read about it, but I prefer
I needed some practice this morning to get my juju going...code could be
modularized a bit...I'll leave that exercise for the student...in particular,
the rc checking could be a function:
checkerr(rc,SQLITE_OK,"Insert error: ");
Or fancier yet with varargs
According to your data you
I read about it, but I prefer to use dll binding.
With the amalgamation, it's also quite easy to compile to one obj and link
directly in Delphi (similar to jpeg; that's probably what you also do). No
pun intended, why should I pay for it?
Off-topic: what do I need to do for a proper reply??
On Fri, Apr 27, 2012 at 1:31 AM, nn6eumtr wrote:
> In response to Stepheen Beal's previous comments I do understand that not
> all combinations of -DSQLITE_OMIT statements will work, and past experience
> has shown its usually because the dependencies between the various
I looked into the problem more tonight and found all of the references
to the omitted functions were from the auto-generated parser. I looked
at the parser source and it was checking for omits in all the right
places so the functions should have have been referenced. I checked the
Makefile and
In response to Stepheen Beal's previous comments I do understand that
not all combinations of -DSQLITE_OMIT statements will work, and past
experience has shown its usually because the dependencies between the
various options are not clear in the documentation.
However someone has invested the
We should add a new output argument for xRead method which is in
sqlite3_io_methods structure like this:
int (*xRead)(sqlite3_file*, void*, int iAmt, sqlite3_int64 iOfst, int*
piRealAmt);
The new 'piRealAmt' could be used to report the actual read data, this argument
will greatly boost the
Thanks for your suggestion..
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
On 27 Apr 2012, at 12:36pm, Bageesh.M.Bose wrote:
> so how can i do thai in c?
> can you please tell me...
Sorry that would be a lesson in how to manipulate text strings in C. It
doesn't have much to do with SQLite. I cannot train you to be a C programmer.
Simon.
so how can i do thai in c?
can you please tell me...
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
On 27 Apr 2012, at 12:25pm, "Bageesh.M.Bose" wrote:
> Thanks for your attention sir..
>
> I tried ".import stock.txt myStockTable"
> But in c it shows some errors...
This is not a C command. It it not part of the SQLite library. It is
interpreted by the shell tool
On 27 Apr 2012, at 5:58am, "Bageesh.M.Bose" wrote:
> I have a file named "stock.txt" with datas seperated by "|" symbol.I want
> insert these datas into a table named "stock".How can i do this in c(in
> linux) with sqlite.
If you want to write the program yourself, you
On 27.04.2012 11:38, Gabriel Corneanu wrote:
> There is one more reason to use DLLs, I'm surprised noone mentioned it.
> What if you don't use C??? (I use myself Delphi with a header conversion).
DISQLite3 compiles right into your Delphi application. Both 32-bit and
64-bit supported:
There is one more reason to use DLLs, I'm surprised noone mentioned it.
What if you don't use C??? (I use myself Delphi with a header conversion).
Gabriel
--
Using Opera's revolutionary email client: http://www.opera.com/mail/
___
sqlite-users mailing
Black, Michael (IS) wrote, On 26/04/12 22:40:
I must be blind (something my wife would agree with)...but I did use "order by
transfer_date"the "asc" making no difference.
Not at all. What you posted was the slow plan.
The three queries that show the planner's behaviour are:
1)
sqlite>
35 matches
Mail list logo