I've currently got a loaner high-performance flash-based "SSD" (let's
just say it doesn't connect to any disk controllers) that I'm testing
for performance. I've run my application against it, and I believe that
I should see numbers MUCH higher than I do. When I run my test app on a
normal SATA
> hard disk, it might be fooling the OS into treating it a one.
>
> Simon.
It's connected directly to the PCI Express bus. It's using it's own
driver, so I assume it knows it's not a hard disk :)
Mark
___
sqlite-users
Lothar Scholz wrote:
> Hello Mark,
>
> Tuesday, September 22, 2009, 3:53:48 AM, you wrote:
>
> M> I've currently got a loaner high-performance flash-based "SSD" (let's
> M> just say it doesn't connect to any disk controllers) that I'm
It's very possible, but I don't know how to tell. Is there an easy way
to know if the sync() calls are taking inordinately long?
Mark
Thomas Briggs wrote:
>Is the sync necessary to commit a transaction slow? Performance of
> that sync depends on the OS, file system, hardwa
low
on this storage device.
Thanks for the suggestion.
Mark
Pavel Ivanov wrote:
> If you execute
>
> pragma synchronous = off;
>
> you'll be able to compare performance with syncs and without them. So
> if you make this comparison on standard spinning disk and on SS
o, I can conclusively say that
>> fsync() is very slow
>>> on this storage device.
>> Yes, the only action of synchronous = off is to turn off
>> calls to
>> fsync() which is called at least twice during each commit.
>>
>> Pavel
>>
>> On
project so it's a great fit), but having the query suddenly take
"forever" because someone included a state in the search just won't work
for me.
Mark
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
rly the exact same thing, except my BLOBs are about 8k, and
they compressed to about 2k. It turned out in my testing to be
significantly faster to skip the compression step (disk space is cheap,
right?) and write the data directly to the database.
As to your other questions, I have no answers, and indeed, would be
interested in them if you came up with some!
Mark
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
t;
> No clue, sorry.
>
> Igor Tandetnik
If you're using System.Data.SQLite from http://sqlite.phxsoftware.com/
there's information in the help file on how to create a custom function
in any .NET language. It involves creating a class that inherits from
SQLiteFunction.
M
doesn't work at all,
nothing is created. I do need it it to go to at least the C drive, and
preferably a folder on C
mtia,
Mark
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
t the .read could take maybe
10 seconds or more.
.read UnPop.sql
.output C:\done.txt
.dump dbinfo
.quit
mtia
Mark
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
thanks, yeah sorry, what I meant to ask was, because the .read command is going
away to read another file,
away from this one, if you know what I mean, does it
actually know to wait for that to finish, or once it's started
executing the .read, does it immediately move on to the
dump?
Hi there,
when using INSERT, if the record is already present, will this cause any
problems, does it overwrite or ignore?
mtia
Mark
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
er part of the programme that the
INSERT / DELETE or UPDATE has been completed
mtia
Mark
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Hi Simon,
ran the first example, came back with lots of lines, second test with the just
the 10 returned
9 lines as 0: the second line as 2:3832, don't understand the purpose/meaning
of this
Hi Igor,
not checking for, want to fill in/replace blank or null fields with at least
one character
zSql = 0xb14b6dc7188 "INSERT INTO\nfunc_merge_deltas(\nmerge\n
)\nVALUES\n(\n?\n)\n;", pFree = 0x0, pFrame = 0xb148a5c8008,
pDelFrame = 0x0, nFrame = 5, expmask = 0, pProgram = 0xb146b8be548,
pAuxData = 0x0}
--
Mark Lawrence
_
On Mon Oct 31, 2016 at 05:42:32PM -0400, Richard Hipp wrote:
> On 10/31/16, mark wrote:
> > On Mon Oct 31, 2016 at 04:04:00PM -0400, Richard Hipp wrote:
> >> Is this reproducible?
> >
> > Yes... in that I can reliably get it to segfault. Duplicating the build
>
On Tue Nov 01, 2016 at 02:21:02AM +0100, mark wrote:
> assertion "0" failed: file "sqlite3.c", line 70020, function
> "valueFromExpr"
I read the source code a little further and found that the NEVER at
line 70020 is actually a macro:
if( NEVE
)
VALUES
(
?,
?,
?,
?,
?,
?,
?,
?,
?
)
;
At least that is what I am passing to Perl's DBD::SQLite prepare()
method. I am then binding the following values before running execute:
$VAR1 = [
'Mark Lawrence',
'em...@ad
Rich Shepard wrote:
Yesterday I trapped myself in sqlite3 and could not exit the application.
I was running the SQLite shell in a virtual console and inadvertently
entered ',e' instead of '.e' to exit.
Cue the theme from 'Jaws.' I was trapped and could not escape. Not, that
is, until I went
to the one above.
Thanks in advance for any help.
Mark
DISCLAIMER:
This information and any attachments contained in this email message is
intended only for the use of the individual or entity to which it is addressed
and may contain information that is privileged, confidential, and e
-users@sqlite.org
> Subject: RE: [sqlite] SQL query - TOP
>
>
>
>
> Regarding: "It would appear that the "TOP" syntax is not supported by
> SQLite (maybe just a Microsoft thing?). However is there an
> alternative? "
>
> Take it to the "L
Frederick Grim wrote:
Howdy all,
So I am wondering if anyone has run into this problem. I am trying
to move from mysql to sqlite and the unique constraint from primary keys
is not allowing me to insert my sql that I dumped from the mysql
database. I have a bunch of join tables so I reall
gratefully received.
Mark
DISCLAIMER:
This information and any attachments contained in this email message is
intended only for the use of the individual or entity to which it is addressed
and may contain information that is privileged, confidential, and exempt from
disclosure under
get around the
problem of a journal file being locked and SQLite cannot delete it? Because at
the moment if this situation occurs no one can write to that Db until the
journal file has gone. Which is quite a severe problem...
Thanks
Mark
DISCLAIMER:
This information and any attachments co
have the
> extension .db for the
> database file and I think if you change that to something
> like .db3 then it
> won't happen.
>
> RBS
>
> -Original Message-
> From: Allan, Mark [mailto:[EMAIL PROTECTED]
> Sent: 09 March 2007 16:23
> To: sqlite-use
ginal Message-
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
> Sent: 09 March 2007 16:36
> To: sqlite-users@sqlite.org
> Subject: Re: [sqlite] journal - "Unable to open the database file"
>
>
> "Allan, Mark" <[EMAIL PROTECTED]> wrote:
> > 3)
Eric S. Johansson wrote:
if the insert fails (i.e. record exists), it triggers an exception which
I use to trigger an update. I get many more updates than inserts of
course but I haven't figured out how to trigger an exception on update
if the record doesn't exist.
From the FWIW dept, woul
, type INT, value TEXT)
Is there anyone who has experience with this kind of design, do you have
better ideas on modelling this kind of data?
Thanks,
Mike
-- Mark Pirogovsky
"Computers made it possible to make millions mistakes a second"
"Ask no q
I think what he is trying to say is that you can store Japanese/Korean
characters in your database using a UTF-8 or Unicode string. We currently use
Sqlite and support Chinese, and plan to implement Japanese and Korean and have
had no problems. We store the text as a UTF-8 encoded string. Provid
has
a foreign key to ExaminationsTable and both ForcedSpiroTable and
RelaxedSpiroTable have a foreign key to the TestTable.
Your help would be gratefully received
Thanks in advance
Mark
DISCLAIMER:
This information and any attachments contained in this email message is
intended only for the
then I get
Joe Bloggs
Joe Bloggs
Joe Bloggs
Joe Bloggs
Joe Bloggs
What I want is Joe Blogs just the once.
Does this make sense? What I need to do is find all patients that have an EVC
and FVC greater than 2.0.
Is there a way to do this? Am I missing something?
Thanks again
Mark
>
g
> Subject: Re: [sqlite] SQL query help (mutiple joins)
>
>
> On 5/1/07, Allan, Mark <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > Thanks for your quick replies. I have tried this method but
> however I am getting a row returned for each entry in
> Forc
> Allan, Mark wrote:
> > What I want is Joe Blogs just the once.
> >
> >
> Mark,
>
> Then try adding distinct like this:
>
> select distinct p.*
> from PatientsTable as p
> join ExaminationsTable as e on e.PatientID=p.ID
> join TestTable as t on
>
> Ok, so here's another question, how would I get the count of
> patients where the EVC and FVC > 2.0?
>
Dont worry I have figured this out. I am doing:-
select count (distinct p.PatientID) p.*
from PatientsTable as p
join ExaminationsTable as e on e.PatientID=p.ID
join TestTable as t on t.E
ars within
an SQL string?
The patient table is similar to:-
Patients
{
INTEGER PrimaryKey;
TEXT Surname;
TEXT FirstName;
TIMESTAMP DOB;
...
...
...
}
Thanks in advance for your help.
Mark
DISCLAIMER:
This information and any attachme
Thanks to everybody that contirbuted to this thread. I have now implemented
this functionality and it works well.
DISCLAIMER:
This information and any attachments contained in this email message is
intended only for the use of the individual or entity to which it is addressed
and may contain i
app itself).
An app like SQLiteManager is doing exactly what I need - it seems to
have a newer version embedded, and the SQL I need to run in my own
app (which fails with the OS library) is already working perfectly in
SQLiteManager.
Any assistance would be most welcome.
Thanks
Ma
app itself).
An app like SQLiteManager is doing exactly what I need - it seems to
have a newer version embedded, and the SQL I need to run in my own
app (which fails with the OS library) is already working perfectly in
SQLiteManager.
Any assistance would be most welcome.
Thanks
Mark Gilbert.
suggestions on how I can avoid the error, 'redefinition of
struct Cursor' ??
Mark
--
[EMAIL PROTECTED]
Tel: +44 208 340 5677
fax: +44 870 055 7790
http://www.gallery.co.uk
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
0x9408b343 sqlite3_exec + 260
7 libsqlite3.0.dylib 0x9407a53d sqlite3_get_table + 189
Anyone have anything specific to suggest ?
Cheers
Mark.
--
[EMAIL PROTECTED]
Tel: +44 208 340 5677
fax: +44 870 055 7790
http://www.gallery.co.uk
ote that the SQLite database is NOT open at the
time. it subsequently opens OK, but the ALTER TABLE ADD COLUMN fails.
Anyone have *any* idea what is happening ?
Cheers
mark
--
[EMAIL PROTECTED]
Tel: +44 208 340 5677
fax: +44 870 055 7790
http://www.galle
Folks.
I have just started learning about Full Text search in SQlite, and I
have some questions
1) With the Amalgamated Sqlite, I guess to enable FTS I just #define
SQLITE_ENABLE_FTS2 at the start of sqlite3.c
Is there anything else I have to do to switch it on ?
2) If I want to do a full
s on why we are seeing what we see? I could add the call to
enable the shared cache, but I really want to understand why it doesn't work
without it.
Thanks,
Mark
Thanks for the quick reply. Unfortunately, we are developing code on the
vxWorks platform, so I don't think sample code would be of use. We have
seen the problem for some time now...at least from 3.3.12. The submitter of
the ticket appears to have the exact same scenario as us. Hopefully he can
style
(which we are using) due to unavailability of certain headers and
functionality on vxWorks.
Thanks for your help,
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
:0:42:-82
DB Counter 0:0:42:-82
DB Counter 0:0:42:-82
DB Counter 0:0:42:-82
DBC2: Got session number: 350100
Thanks for any help,
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
exact SQL statements without trimmed output, just let me
know, and I can send it to you privately.
Thanks for your help,
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
in vxWorks support, and I'll keep the group posted of the
results.
Thanks so much!
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
My final post on this issue...vxWorks has confirmed a bug in their fstat()
implementation. I'm hoping for a quick resolution. Thanks for the help.
Mark
>
> Just a follow-up for the group...
>
> Richard was able to determine that my platform is having
> trouble with an
&
No, we are actually filling in the parameter with a valid integer value. I
was just trying to say it was a parameter.
>
> Are you actually searching for records where F is the string "?"
>
> If so, why don't you try WHERE F="?" instead of leaving it with the
> ? unquoted.
--
Chase wrote:
how do i generate a uniqueidentifier ?
Define a column as follows:
{fieldname} INTEGER NOT NULL PRIMARY KEY
eg:
CREATE TABLE hardware_types (record_key INTEGER NOT NULL PRIMARY
KEY,hardware_key INTEGER default 0);
-
john s wolter wrote:
SQLite.org in my opinion, needs to have online community forms. I first
used majordomo ten years ago which is like the list manager being used for
sqlite-users@sqlite.org but in today's Internet it can be mistaken for
SPAM. I do not know if SQLite would qualify because of t
john s wolter wrote:
I have an old Clipper DBF type application that has worked well but times
changed and changed long ago. The feature of this DBF, non-GUI, text
oriented, application is that it is mostly a list lookup application with
few DB changes. A separate Admin program does list manage
od failing due to our custom h/w, so most
likely this is the problem, but just thought I would ask.
Thanks,
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
Hi Andre-
Thank you for your insight. Looks like we have some redesign scheduled for
today. :)
Thanks,
Mark
> -Original Message-
> From: Andre du Plessis [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 15, 2007 5:05 AM
> To: sqlite-users@sqlite.org
> Subje
Hi Andre-
After rereading your post, I wanted to confirm something. In your example
below, are thread1 and thread2 connected to the same database, or different
databases? In my scenario, the threads are connected to different
databases, so I'm not sure if it is the same situation.
Thanks,
any effect
on database activity on a different connection to DB2.
Thanks,
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
27;m still thinking our problems may be low-level
file i/o bugs with our OS, so perhaps taking out the file-based .lock scheme
will help.
Thanks,
Mark
> -Original Message-
> From: Ken [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, August 15, 2007 12:39 PM
> To: sqlite-users@sq
? Would
the format of the database be compatible?
Thanks,
Mark
Hi,
Does sqlite offer the ability to connect to a sqlite db file on a
remote machine? I've been using it locally for awhile and it's great.
Wanted to see if it could be used remotely for some simple tasks.
Th
code in the SQLite library at the same time, and also
allows only one transaction to occur at a time.
Thanks for your help,
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
(), and hence, we should have no problem (from a SQLite point of view)
of having multiple threads use the same connection, as long as we are
correctly controlling access to this connection with our own mutexes.
Is that right?
Thanks,
Mark
> -Original Message-
> From: John Stanton [
x27;ve looked at the extended
functions here:
http://www.sqlite.org/cvstrac/wiki?p=DateAndTimeFunctions
but am unsure of how to take advantage of them.
Thank you,
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
Oh I forgot to put quotes around the result, thanks Igor,
Mark
On 9/20/07, Igor Tandetnik <[EMAIL PROTECTED]> wrote:
> Mark Wyszomierski <[EMAIL PROTECTED]>
> wrote:
> > I've made a text field called "timestamp" which has dates in the form:
> >
>
Hi,
I wanted to open a sqlite database read-only - where is:
SQLITE_OPEN_READONLY
defined?
Thanks
-
To unsubscribe, send email to [EMAIL PROTECTED]
--
Ah shoot didn't realize that, thanks.
Do you happen to know by any chance if opening in read-only mode
improves performance at all? Or is it really just a safe-guard
feature.
Thanks,
Mark
On 9/23/07, Igor Tandetnik <[EMAIL PROTECTED]> wrote:
> Mark Wyszomierski <[EMAIL PR
Hi,
Are there are ODBC drivers out there for sqlite on win32? I'm already
using an ODBC library and wanted to see if I could get around
rewriting everything using the native sqlite API.
Thanks,
Mark
-
To unsubs
t?
Thanks,
Mark
On 10/3/07, Mark Wyszomierski <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Are there are ODBC drivers out there for sqlite on win32? I'm already
> using an ODBC library and wanted to see if I could get around
> rewriting everything using the n
I'm working with implementing my own VFS. If the developer(s) could
answer a couple of questions, it would be helpful.
In section 2.1.4 of the SQLite 3.4.2 to 3.5.0 document, reference is
made to "a database file will be doing page-aligned sector reads and
writes in random order" regarding th
quentially (with the exception of the header).
That is a useful hint for these types of files. It sounds like journal
reads and writes won't be sector sized and/or sector aligned. I can
accommodate that with little effort as well.
[EMAIL PROTECTED] wrote:
Mark Spiegel <[EMAIL PROTE
While working on a VFS for use in 3.5.1, I was looking at the winLock()
and have a question.
Is it possible for the lock on a winFile object to progress from
SHARED_LOCK to EXCLUSIVE_LOCK without first acquiring a RESERVED_LOCK?
Assuming that it is, it seems that the comments at the start of
don't
understand what the solution is? I'm already linking to kernel32.lib,
Thanks,
Mark
-
To unsubscribe, send email to [EMAIL PROTECTED]
-
Thanks guys.
On 10/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> "Mark Wyszomierski" <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > I'm trying to upgrade to the latest version of sqlite (3.5.1) for
> > windows. Compiling the sqlite l
I posted this to the list last Wednesday and haven't seen a reply.
D0n't want to create traffic in the defect database if I am in error.
Anyone want to take a crack at this?
While working on a VFS for use in 3.5.1, I was looking at the winLock()
and have a question.
Is it possible for the
Thanks Dan. How about the second part. Should the PENDING_LOCK be
taken en route from the SHARD_LOCK to EXCLUSIVE_LOCK? Which is right,
the code or the function header?
Dan Kennedy wrote:
On Mon, 2007-10-22 at 10:56 -0700, Mark Spiegel wrote:
I posted this to the list last Wednesday and
Here's a bit more locking info that I found useful to help understand it
all out of the archives:
http://www.mail-archive.com/sqlite-users@sqlite.org/msg02845.html
If you are writing a Windows app, you can use a named mutex which can be
shared across processes.
I have need for a blocking (as
Based on what I've read, it certainly could. As I understand it, there
is a single queue for all the writes so the writes for multiple
databases, journals, etc. are going to that single queue. Based on
that, it is certainly "possible" that your overall throughput and
throughput for any indivi
optimizations to avoid starting the query with an index build.
Mark
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
hild be greater than the id's of the parents.
Mark
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
For 32 bits it should be a long, for 64 bites, a 64 bit integer type.
For example __int64 in Windows.
sqlite3_intptr_t has to be large enough to hold the larger of an integer
or a pointer on each platform. We had to fix this too...
Gopala Surya wrote:
> Hi All
> We have been using sqlite vers
Howdy, I'd like to end up with a shared NON-threaded NON-TCL binary
but also with a libsqlite3.a static lib. Could anyone suggest how I
could alter this Makefile to support these requirements please?
For x86_64 and i686, kernel 2.6.29.4, glibc 2.10.1.
TOP = ../sqlite3
BCC = gcc -O2
USLEEP = -DHAV
On Sunday 07 June 2009 00:15:21 Jay A. Kreibich wrote:
> > Howdy, I'd like to end up with a shared NON-threaded NON-TCL binary
> > but also with a libsqlite3.a static lib. Could anyone suggest how I
> > could alter this Makefile to support these requirements please?
>
> Assuming you're using the
On Sunday 07 June 2009 10:51:05 Jay A. Kreibich wrote:
> > > > Howdy, I'd like to end up with a shared NON-threaded NON-TCL binary
> > > > but also with a libsqlite3.a static lib. Could anyone suggest how I
> > > > could alter this Makefile to support these requirements please?
> >
> > Is there a p
Would anyone have a clue as to how I could end up with /usr/lib/libsqlite3.so.0
as well as /usr/bin/sqlite3 and /usr/lib/libsqlite3.a ?
cc -DTHREADSAFE=0 -c sqlite3.c
cc -DHAVE_READLINE=1 -o sqlite3 sqlite3.o shell.c -ldl -lreadline -ltermcap
-I/usr/include/readline
ar cru libsqlite3.a sqlite3.o
On Sunday 07 June 2009 14:26:07 Mark Constable wrote:
> Would anyone have a clue as to how I could end up with
> /usr/lib/libsqlite3.so.0
> as well as /usr/bin/sqlite3 and /usr/lib/libsqlite3.a ?
Another one for the list archives. I'm not sure if this is 100%
correct but the resul
ux or
windows ?
And what about stroing the database onto a Solid state disk or on a Raid
6 array normal HD
Best regards,
Mark Flipphi
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
http://www.sqlite.org/compile.html
There are options you can use to disable/remove unused features. Some
can give significant size savings. (I did this on Windows, YMMV.)
Unfortunately, you can't just use these with the amalgamated source.
You will probably have to rebuild it. It's not har
there any examples ?
With kind regards,
Mark Flipphi
___
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users
Stan Bielski wrote:
> In the course of copying a largish (20 GB) database file while
> accessing it via sqlite3, the machine became very unresponsive. I
> opened task manager and found that the system was using a huge amount
> of virtual memory, causing it to thrash. Per-process memory usage
> look
> Just to be clear, I think Windows is really the one that is at fault
> here; the behavior seems very broken to me. Unfortunately, I need the
> app to work on Windows without this happening, so I need to figure out
> some kind of workaround in a.) Windows settings b.) the sqlite source
> or c.) h
Stan Bielski wrote:
> Hello again,
>
> Copying the database with Explorer and accessing it via sqlite is just
> a contrived example that exhibits the same problem I'm having in my
> application. The app does make a copy of the DB, but it has app-layer
> locking that will prevent modifications unle
Environment:
Linux axis 2.6.19 #9 PREEMPT Mon Apr 6 15:44:03 EDT 2009 cris unknown
Sqlite:
Sqlite: sqlite-3.6.14
./configure --host=cris-axis-linux-gnu
--prefix=/AEMDEV/83+/devboard-R2_10/target/cris-axis-linux-gnu
--enable-static=yes --enable-shared=yes --disable-dynamic-extensio
I also (just) tried 3.6.17. Same issue.
/m
Mark Richards , On 8/11/2009 14:53:
> Environment:
> Linux axis 2.6.19 #9 PREEMPT Mon Apr 6 15:44:03 EDT 2009 cris unknown
>
> Sqlite:
> Sqlite: sqlite-3.6.14
> ./configure --host=cris-axis-linux-gnu
>--prefix
SyslogMessage("SQL error: %s\n", zErrMsg);
sqlite3_free(zErrMsg);
}
sqlite3_close(db);
(Note: WriteSyslogMessage() issued a system("logger 'string'"); call)
Same issue. -1 returned during read().
/m
D. Richard Hipp , On 8/11/2009 15:38:
> O
D. Richard Hipp , On 8/11/2009 16:02:
>
> Perhaps pthreads is going goofy. Please recompile with -
> DSQLITE_THREADSAFE=0 and see if that helps.
>
BINGO.
env CC="gcc-cris -mlinux -isystem $EROOT/include"CPP="gcc-cris
-mlinux -E -isystem $EROOT/include" CXX="g++-cris -mlinux -xc++
-i
D. Richard Hipp , On 8/11/2009 16:39:
> program is using LinuxThreads or NPTL for its threading. (SQLite has
> to know which is used because there are serious bugs in LinuxThreads
> that SQLite has to work around.) So pthreads gets used once, by
> SQLite, even if you don't do any threading in you
Jay A. Kreibich wrote:
> Integer values between -128 and 127 use only a single byte of storage above
> and beyond the header size that all values have.
>
Not quite. Values between 0 & 127 use 1 byte of storage. Negative
values use the full 9 bytes in my experience. (I'm setting aside the
D. Richard Hipp wrote:
> You are both right and both wrong. There are two different integer
> representations used in SQLite.
>
> (1) "varint" or variable length integer is an encoding of 64-bit
> signed integers into between 1 and 9 bytes. Negative values use the
> full 9 bytes as do large
D. Richard Hipp wrote:
> Most varints are "type varints" and type varints are almost always a
> single byte (the only exceptions being for large blobs or strings).
> Varints are also used to store the total number of bytes in a row
> (also usually one byte). Most varints are a single byte.
1 - 100 of 597 matches
Mail list logo