Re: [sqlite] .import error: cannot open large file

2011-06-02 Thread Nuno Lucas
gcc -o sqli -O3 -DNDEBUG=1 -D_FILE_OFFSET_BITS=64 sqlite3.c shell.c -ldl -pthread The resulting binary (sqli) will be compiled with large file support (I verified it was using strace). Regards, ~Nuno Lucas P.S.- While this could be considered an Ubuntu bug, the truth is that the linux she

Re: [sqlite] .import error: cannot open large file

2011-06-03 Thread Nuno Lucas
If the shell is not compiled for large file access that flag will not be present. The latter is what happens using the pre-compiled sqlite binary. Regards, ~Nuno Lucas ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Table info for a particular query

2011-06-09 Thread Nuno Lucas
--- But I'm not sure if it's exactly the same as if from a select. Regards, ~Nuno Lucas ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] c89 (long long) compatibility warning in amalgamation build

2011-09-08 Thread Nuno Lucas
quot;true answer" (TM) exists. If I remember correctly, you can use the header in C89 mode with the Linux libc, so you could workaround with that in mind. Regards, ~Nuno Lucas ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Encoding and Collation

2011-09-11 Thread Nuno Lucas
easy way (partial support for just the common western scripts) it's easy. And already done by many, if you search the mailing list. As a final note, SQLite 2 never had any support for ISO-8859-X collations, so you have no reason to believe SQLite 3 would have it. Regards, ~Nuno Lucas > > Thanks. ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Encoding and Collation

2011-09-14 Thread Nuno Lucas
. Regards, ~Nuno Lucas ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] Performance analysis of SQLite statements

2007-04-12 Thread Nuno Lucas
Other than that, as long as the code works on a "single-core" CPU, it should work on newer ones. Off course, there is that word: "should" ;-) Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Performance analysis of SQLite statements

2007-04-13 Thread Nuno Lucas
requency scaling) and could give different results on different CPUs (the motherboard can include a high-res time source, but many don't, and some are just too slow to fetch a value). Regards, ~Nuno Lucas Regards Nick - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] SQLite and memory usage

2007-04-18 Thread Nuno Lucas
using the lowest levels routines, nor counting the right high level ones. Also, SQLite has it's own memory leak detector, which you can enable to make sure there are no memory leaks (but off course slowing down your program a lot) Look at the file util.c. It should give you an idea. Regards, ~Nuno

Re: [sqlite] Reducing memory usage when reading a blob

2007-04-19 Thread Nuno Lucas
lob_id=:ID: ORDER BY blob_seq; Disclaimer: I haven't tested the SQL, but you should get the idea. Regards, ~Nuno Lucas Thanks, -Stan - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Odd performance issue under Windows

2007-04-26 Thread Nuno Lucas
ve noticed this link: http://www.microsoft.com/technet/prodtechnol/windows2000serv/maintain/optimize/wperfch7.mspx Regards, ~Nuno Lucas 3. Settings which cause Media Center to be more aggressive about flushing its cache than Pro or Home. If this hypothesis is correct, Pro or Home would be putting a higher

Re: [sqlite] Sqlite 14 (cant open database)

2007-05-04 Thread Nuno Lucas
files on FAT32 (some disk utilities could even trash your drive). I don't know if the recent vfat drivers were fixed to handle more than 2 GB files, though. Maybe no one considered it important until recently (only now you have FAT32 USB disks with more than 4GB space free). Best regards, ~Nuno

Re: [sqlite] May I ask why the source distribution mechanism was changed starting with 3.3.14?

2007-05-04 Thread Nuno Lucas
On 5/4/07, Ken <[EMAIL PROTECTED]> wrote: 100% concur with Dennis. Thanks again for a great product! +1 I couldn't said it better, maybe even in my native language ;-) Best regards, ~Nuno Lucas Dennis Cote <[EMAIL PROTECTED]> wrote: [EMAIL PROTECTED] wrote: > > C

Re: [sqlite] porting sqlite3 to embeded os-----lock question

2007-05-11 Thread Nuno Lucas
ctions that always succeed. another question: There is also a little difficult to realize the sqlite3WinThreadSpecificData function to get the thread information, Is this also must realize ? If you use threads, then that would depend on your use of sqlite. Regards, ~Nuno Lucas thanks

Re: [sqlite] Re: How to sort not binary?

2007-05-13 Thread Nuno Lucas
It's up to you to feed with a collation that does natural sort. A few thousand rows are not much in modern computer terms, but I have no idea on the impact in terms of performance the .NET wrapper has. Test it and you'll kn

Re: [sqlite] file structure issue

2007-05-23 Thread Nuno Lucas
ke linux, cygwin or MSYS). After that is done, you should have all preprocessed files generated, so you can just copy them to where you want. Regards, ~Nuno Lucas [1] http://www.sqlite.org/sqlite-3.3.17.tar.gz wang - To u

Re: [sqlite] SQL error: disk I/O error

2007-05-23 Thread Nuno Lucas
or so (is usually configurable by a kernel parameter), but has the drawback of messing with the ACID nature of SQLite. Regards, ~Nuno Lucas Somehow I don't have a problem in a tmpfs. The strace showed no diff between tmpfs and this directory where it is giving I/O error. Thanks On 5/22/07, Joe Wilson &

Re: [sqlite] sqlite internal structs don't make use of C bitfields?

2007-05-31 Thread Nuno Lucas
quot;set bit"), and also compilers typically don't optimize well with that (so before >> applying this patch, I would test on other platforms than gcc linux x86). is not true. It's true not all CPUs hav

Re: [sqlite] sqlite3_open() fails on WinCE due to utf8ToUnicode / unicodeToUtf8

2007-06-01 Thread Nuno Lucas
n: Is this a bug or is something wrong with my WinCE-Image? It probably means your WinCE OS image doesn't have UTF-8 support built-in, so you either have to make your own character set conversions or rebuild the OS image with that support (if you can change the image, that is). Regards, ~Nuno

Re: Re: [sqlite] sqlite3_open() fails on WinCE due to utf8ToUnicode / unicodeToU

2007-06-01 Thread Nuno Lucas
I can enable UTF-8 support. (hope this is not to offtopic). Sorry but never used the WinCE builder tool. Maybe someone here knows better. Regards, ~Nuno Lucas Regards, Daniel - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] sqlite internal structs don't make use of C bitfields?

2007-06-02 Thread Nuno Lucas
problems when porting x86 code to other platforms). The subject is a bit more complex than this, because to really talk about it we would also need to talk about what the C standard says about the volatile keyword and how different compilers treat it. But it's becoming off-topic. Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] ALTER TABLE ADD COLUMN - strange behaviour....Mac OSX

2007-06-03 Thread Nuno Lucas
On 6/3/07, Mark Gilbert <[EMAIL PROTECTED]> wrote: Anyone have *any* idea what is happening ? I don't know nothing about MacOS, but you may want to check the result of sqlite3_close. It's possible it's not closing the database [1]. Regards, ~Nuno Lucas [1] http://www.sqlite.org/capi3re

Re: [sqlite] No space left on device?

2007-06-04 Thread Nuno Lucas
space left. It's up to your application to handle the error gracefully. I'm asking this because I have a process dying (being killed) because it exauted main memory. That is probably a memory leak in you application (maybe some bug in the error path). Regards. ~Nuno Lucas Cheers Alberto -- A

Re: [sqlite] Stack usage

2007-06-05 Thread Nuno Lucas
out sqlite stack usage if that was true. Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: Re: [sqlite] Stack usage

2007-06-05 Thread Nuno Lucas
pinion, your case doesn't "deserve" to be fixed. You can make the generator create a temporary table, insert the data on it, make the select and then drop the table, even if that would involve more coding (at least to handle the final table drop after geting

Re: [sqlite] Stack usage

2007-06-05 Thread Nuno Lucas
from unions where deep recursion may be used? I believe your question is more for other places where you can avoid the deep recursion (as the deep recursion will always lead to the same problem). Best regards, ~Nuno Lucas -- Ka

Re: [sqlite] sqlite3_create_function function name when called?

2007-06-12 Thread Nuno Lucas
method (maybe in conjunction with the experimental sqlite3_overload_function method to assure an empty function exists). Regards, ~Nuno Lucas Thanks. - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: Re: [sqlite] sqlite3_open() fails on WinCE due to utf8ToUnicode / unicode

2007-06-12 Thread Nuno Lucas
de should have a fallback to the earlier behaviour if CP_UTF8 is not supported on the device (as it happens with most WinCE 4.x and older devices). Did you open a ticket for this? Regards, ~Nuno Lucas - To unsubscribe, s

Re: [sqlite] Help with compiling 3.3.17 version for WinCE

2007-06-18 Thread Nuno Lucas
.0, you may want to look at the old sqlite-wince.sf.net code, which include compatibility headers for assert.h and time.h (and support for WinCE 2.x using the legacy 2.8.x branch). Regards, ~Nuno Lucas - To unsubsc

Re: [sqlite] Unicode collation

2007-06-27 Thread Nuno Lucas
n a single locale, and can have only the locale data they need. Best regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Unicode collation

2007-06-27 Thread Nuno Lucas
ut you are forgetting you can have a database in a shared network folder, used by PC's in different parts of the world and even different OSs (with samba/cifs). That's why I like Trevor's idea so much. Best regards, ~Nuno Lucas

Re: [sqlite] Unicode collation

2007-06-28 Thread Nuno Lucas
on the table, but maybe we can work on something in that respect, also. Regards, ~Nuno Lucas [1] http://developer.mimer.com/collations/charts/index.tml [2] http://www.unicode.org/reports/tr10/ [3] http://en.wikipedia.org/wiki/European_Ordering_Rules Jiri

Re: [sqlite] Unicode collation

2007-06-28 Thread Nuno Lucas
he usual "pt_PT" and "pt_BR" for Portuguese/Portugal culture and Portuguese/Brazil culture) , but I'm open to suggestions when that problem arise, and I'm sure there are already standards we can follow in relation to that. Well, I will probably only have time to actually put words into

Re: [sqlite] Unicode collation

2007-06-28 Thread Nuno Lucas
On 6/28/07, Trevor Talbot <[EMAIL PROTECTED]> wrote: On 6/28/07, Nuno Lucas <[EMAIL PROTECTED]> wrote: > One thing I noticed is that "collations" != "case change". This will > not make it possible to use UPPER/LOWER with the same data on the >

Re: [sqlite] Re: Unicode collation

2007-06-28 Thread Nuno Lucas
eave the decision of the name convention for the last part of the job. Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Question about triggers

2007-06-28 Thread Nuno Lucas
ment. Example: CREATE TABLE x ( a, b DEFAULT CURRENT_TIMESTAMP ); INSERT INTO TABLE x (a) VALUES (12345); b has an automatic timestamp. Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: Re: [sqlite] sqlite3_open() fails on WinCE due to utf8ToUnicode / unicode

2007-06-29 Thread Nuno Lucas
On 6/12/07, Nuno Lucas <[EMAIL PROTECTED]> wrote: On 6/7/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It really looks like this UTF-8 codepage is not avaiable. Is there > any WinCE developer that uses SQLite newer than version 3.3.9 on this > list? -> Did you have

Re: [sqlite] Changing Database Encoding

2007-07-30 Thread Nuno Lucas
inserting the data into a 3.x database. That can be more difficult than you think in case of mismatched use of library versions. Regards, ~Nuno Lucas > > Any help is appreciated! Thanks! > > -- > - Mitchell Vincent - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Unicode Again... Still Stuck... A Challenge... Store and retrieve the word résumé without using a unicode string literal

2007-07-31 Thread Nuno Lucas
rds which you need to read, but Outlook is famous for not following those standards, so it means a lot of hacks to to have it right. This are just notes for you. I'm not even an expert on this. Regards, ~Nuno Lucas > f = cgi.FieldStorage() > cur.execute("insert into test values (?,?

[sqlite] [RFC] About the sqlite3 collation needed callbacks: design flaw?

2007-07-31 Thread Nuno Lucas
t the code is because I believe it's trivial enough, and if I did then it would have to wait until the legal bureaucracy of copyright assignment was done before being merged into the tree. Best regards, ~Nuno Lucas [1] http://www.sqlite.org/capi3ref.html#sqlite3_collat

Re: [sqlite] Re: Re: Re: Re: Re: Re: Re: How does SQLite choose the index?

2007-08-06 Thread Nuno Lucas
esources by having the bridge built in a special way, like in an U shape to increase strength against the current. Regards, ~Nuno Lucas > > RBS > > > > Absolutely. Big bridge or small bridge, if it fails you fall in the > > water. > > > > It looks as if the bridge

Re: [sqlite] SELECT INTO ... not supported?

2007-08-17 Thread Nuno Lucas
help with a workaround that doesn't need an explict (and > rather long) list of fields in the 3-table join that is my real > non-simple requirement? http://www.sqlite.org/lang_insert.html Regards, ~Nuno Lucas > Thanks in advance, > > John - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Odd error on "BEGIN IMMEDIATE"

2007-08-17 Thread Nuno Lucas
on, don't you think? > Why does the engine think I'm still in a transaction? You didn't end the transaction with either "COMMIT"/"END" or "ROLLBACK". Regards, ~Nuno Lucas > thanks, > > Scott - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Aggregate and query limit

2007-08-18 Thread Nuno Lucas
void reading full rows if you don't need to (like having an index - or an autogenerated temporary index - you can use) when sqlite does the initial "skip" part. Regards, ~Nuno Lucas > > Thanks, > Mina. - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Problem opening a new SQLite3 database file

2007-08-25 Thread Nuno Lucas
ure there are good ones that deserve the money one pays for them, but it's stupid to pay before you know the limitations of the free alternatives). The reason I don't explain why your way doesn't work is because if you don't know what a PATH

Re: [sqlite] Re: select round(98926650.50001, 1) ?

2007-09-03 Thread Nuno Lucas
ound() is implemented. Regards, ~Nuno Lucas [1] http://www.sqlite.org/cvstrac/fileview?f=sqlite/src/func.c=1.174 > > thanks, Serena. - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Re: select round(98926650.50001, 1) ?

2007-09-03 Thread Nuno Lucas
seems SQLite is already doing the right job. Maybe some OS specific error? Wasn't there some discussion earlier about the Microsoft compiler not using the full double precision by default? Regards, ~Nuno Lucas > e > > -- > Doug Currie > Londonderry, NH, USA - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Re: select round(98926650.50001, 1) ?

2007-09-05 Thread Nuno Lucas
o maybe libc does it by default, but the official sqlite compiled version (which IIRC is linked with the old Microsoft C runtime DLL) doesn't. Regards, ~Nuno Lucas > > Rgds, > Simon - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Re: select round(98926650.50001, 1) ?

2007-09-05 Thread Nuno Lucas
On 9/5/07, Cory Nelson <[EMAIL PROTECTED]> wrote: > On 9/5/07, Nuno Lucas <[EMAIL PROTECTED]> wrote: > > What about defining __STD_IEC_559 before the compilation? > > Acording to this: > > > >http://david.tribble.com/text/cdiffs.htm#C99-iec60559 >

Re: [sqlite] SQLite or MS Access

2007-09-07 Thread Nuno Lucas
tude slower on SQLite (because it waits for the data to get to the disk controller) than for Access (which just gives the data to the OS, not caring if it goes to disk or not). In a nutshell, benchmarks are not easy...

Re: [sqlite] extension-functions.tgz for sqlite3 3.4.1 ?

2007-09-11 Thread Nuno Lucas
your module? Don't know current compiler standard compliance, but maybe including the "new" header file and using uint8_t, uint16_t, etc. could be better yet (instead of every library having it's own typedef section for basic types). Regards, ~Nuno Lucas ---

Re: [sqlite] SQLite and Large Databases

2007-11-08 Thread Nuno Lucas
) if you really want to have a meaningful clue on the memory usage of your program. Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Problem creating extension for use with load_extension

2007-11-10 Thread Nuno Lucas
ension('mydblib.dll'); > SQL error: The specified procedure could not be found. > Seems like you didn't enable the extension loading mechanism. It defaults to disabled for security reasons. Check the wiki page about the SQLITE_OMIT_LOAD_EXTENSION define: * http://www.sqlite.org/c

Re: [sqlite] Performance tuning using PRAGMA, other methods

2007-11-20 Thread Nuno Lucas
ntation have more than enough information for the level of detail you want. Regards, ~Nuno Lucas > -Original Message- > From: Tom Briggs [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 20, 2007 1:41 PM > To: sqlite-users@sqlite.org > Subject: RE: [sqlite] Performance

Re: [sqlite] Sqlite version for libc 2.1.3

2007-11-23 Thread Nuno Lucas
to the x86 platform, but different library versions). Regards, ~Nuno Lucas On 11/23/07, Tara_Nair <[EMAIL PROTECTED]> wrote: > Thanks for your response, Trevor. > > It is what I had initially thought too, that if I built it with an older > set of libraries it will look for those v

Re: [sqlite] benchmarking UTF8 vs UTF16 encoded databases

2007-11-23 Thread Nuno Lucas
result. The same is true with any other portable file format. Regards, ~Nuno Lucas > > Best regards, > Igor > > > > > -Original Message- > From: Nuno Lucas [mailto:[EMAIL PROTECTED] > Sent: Friday, November 23, 2007 2:01 PM > To: sqlite-users@sqlite.org &g

Re: [sqlite] benchmarking UTF8 vs UTF16 encoded databases

2007-11-23 Thread Nuno Lucas
F-16LE ? If you only speak Japanese and all your characters are 3 bytes or more in UTF-8 and always 2 bytes in UTF-16 which would you tend to choose? About the endieness, you don't need to know if you don't care. SQLite handles it. Reg

Re: [sqlite] compilation error in sqlite 3.5.3

2007-11-30 Thread Nuno Lucas
warning(s) > > Where i can get this tcl.h file If you don't need TCL support just don't include tclsqlite.c in your project. For you information, TCL is a script language, and SQLite includes "native" support for it. If you don't know about it then I guess you don't need it (it is used

Re: [sqlite] Should the next release be 3.5.4 or 3.6.0?

2007-12-13 Thread Nuno Lucas
ight thing to do, and version numbers are cheap. Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] what platforms does SQLite run on?

2008-02-19 Thread Nuno Lucas
0 itself it compiles out of the box). Other than that, just use the last SQLite version. Regards, ~Nuno Lucas ___ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Re: [sqlite] compiling sqlite

2006-06-19 Thread Nuno Lucas
.h etc. The port includes dummy assert.h and time.h files exactly because of this. I am unable to use the dll as it requires msvcrt which is not available on it. You can't use a windows DLL on CE, even if msvcrt was available. You will need to compile your own. Best regards, ~Nuno Lucas Thanks

Re: [sqlite] compiling sqlite

2006-06-22 Thread Nuno Lucas
nicode. C:\Windows CE Tools\wce211\PDT7200\Samples\sqlite\vdbe.c(4140) : warning C4047: '=' : 'void *' differs in levels of indirection from 'int ' This are the "normal" sqlite warnings ;-) I don't have Windows to test this, but you should now know what to do. Best regards, ~Nuno Lucas

Re: [sqlite] i have a few Qs - sqlite3

2006-07-08 Thread Nuno Lucas
Please don't feed the troll... ~Nuno Lucas

Re: [sqlite] Unable to write to database

2006-07-11 Thread Nuno Lucas
ectory to make sure it's writable by the cgi user. Just my .02 cents, as don't know much about perl. Regards, ~Nuno Lucas

Re: [sqlite] How do you find out the names of the fields within a table?

2006-07-12 Thread Nuno Lucas
. When you use pre-compiled SQL statements you get that info for free, that is, whitout actually needing to run the query. Look the sqlite3_column_name function: * http://sqlite.org/capi3ref.html#sqlite3_column_name Regards, ~Nuno Lucas Many thanks John

Re: [sqlite] How do you find out the names of the fields within a table?

2006-07-13 Thread Nuno Lucas
d think in using another sqlite wrapper that allows it... Regards, ~Nuno Lucas

Re: [sqlite] how to flush database to disk?

2006-07-18 Thread Nuno Lucas
doing a COMMIT after every modification of the DB. Any chance of being the OS file system that "rollbacked" the files after the crash? I've seen this before after a Windows CE based machine (with flash memory as disk) crashed. I would assume NTFS on Windows machines can do the same. Regards, ~Nuno Lucas

Re: [sqlite] write/read from BLOB

2006-07-24 Thread Nuno Lucas
Just "bind" your data using prepared statements. You can pass null characters inside. Another option is to use the X'0011223344' syntax to insert binary data in hexadecimal format (you can retrieve it in the same format by using the "quote" function). Regards, ~Nuno Luca

Re: [sqlite] locked implies exception?

2006-07-25 Thread Nuno Lucas
On 7/25/06, Fred Williams <[EMAIL PROTECTED]> wrote: Good Grief! Everybody knows CRUD is what you clean off on US Navy ships at least once a week. Nice to know it only affects US Navy ships ;-) (couldn't resist)

Re: [sqlite] Is there schema caching in sqlite?

2006-07-25 Thread Nuno Lucas
e wrapper around the sqlite API that is missing this? Regards, ~Nuno Lucas -Ralf

Re: [sqlite] SQLiteSpy vs. SQLite.dll speed comparison

2006-07-25 Thread Nuno Lucas
r than a cache hit and can also imply scheduling decisions against the process/thread). Regards, ~Nuno Lucas

Re: [sqlite] how to use the sqlite command-line specific commands with the dll version

2006-07-26 Thread Nuno Lucas
n look into the shell.c source and just copy the code you want into your own functions. The sqlite shell is all implemented in this file, so it's not too hard to look how it's done there and use in your code. Regards, ~Nuno Lucas Any help would be greatly appreciated Many thanks John

Re: [sqlite] temp_store=1 performance on Mac OS X vs. Windows

2006-07-27 Thread Nuno Lucas
p your performance. FileMon from sysinternals (bought recently by Microsoft) is very good at showing what processes are doing with what files during some time. Regards, ~Nuno Lucas

Re: [sqlite] Way to "Bind" Columns in Prepare

2006-07-29 Thread Nuno Lucas
recompile. Best regards, ~Nuno Lucas Thanks. Michael

Re: [sqlite] RE: UNICODE Support

2006-08-04 Thread Nuno Lucas
esults with UTF-8 were bugs in my program (like passing non-UTF-8 string). Any other unexpected result should be considered a bug in SQLite and reported as such. Regards, ~Nuno Lucas -- Cory Nelson http://www.int64.org

Re: [sqlite] date data types

2006-08-04 Thread Nuno Lucas
ficult (remember sqlite is an embeded SQL engine, which aims for a small size and low memory footprint). You can always add a ticket for it, as a new feature, and see how it goes ;-) Regards, ~Nuno Lucas

Re: [sqlite] UNICODE Support

2006-08-04 Thread Nuno Lucas
estion (it would probably need a library as big as SQLite itself), so it's up to the user to define it's own localization funtions and integrate them with sqlite (there are all the necessary hooks ready for that). Regards, ~Nuno Lucas

Re: [sqlite] UNICODE Support

2006-08-04 Thread Nuno Lucas
On 8/5/06, Cory Nelson <[EMAIL PROTECTED]> wrote: On 8/4/06, Nuno Lucas <[EMAIL PROTECTED]> wrote: > On 8/4/06, Cory Nelson <[EMAIL PROTECTED]> wrote: > > IE, using memcmp() to compare strings. I've been bitten by this > > before, with SQLite producing un

Re: [sqlite] [ANN]SQLtNoCase - convert SQLite TEXT columns to TEXT COLLATE NOCASE

2006-08-08 Thread Nuno Lucas
I don't mind receiving occasional announcements on new programs using SQLite (even if I'll never use them), but don't you think one per day is just too much? Regards, ~Nuno Lucas On 8/8/06, Me <[EMAIL PROTECTED]> wrote: FREE - SQLtNoCase - convert TEXT columns to TEXT COLLATE NOCASE

Re: [sqlite] C precompiler to bytecode

2006-08-08 Thread Nuno Lucas
decide to use different low-level implementations that can clash with your hardcoded functions (this is the same as statically linking the sqlite library with your application). Just my .02 cents... Regards, ~Nuno Lucas

Re: [sqlite] Disable custom collate

2006-08-10 Thread Nuno Lucas
w the problem so just kept away from collate), but if it seems to work with some corrupted databases it should work here too. Regards, ~Nuno Lucas jp.

Re: [sqlite] Stripping a newline character

2006-09-05 Thread Nuno Lucas
re that last '\n'... Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-11 Thread Nuno Lucas
the reason). Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment

2006-09-11 Thread Nuno Lucas
[forgot to reply to the list] -- Forwarded message -- From: Nuno Lucas <[EMAIL PROTECTED]> Date: Sep 11, 2006 9:07 PM Subject: Re: Re: [sqlite] met "ARM7TDMI raised an exception,data abort" when executing sqlite3Parser() in ARM environment To: [EMAIL PROTECT

Re: [sqlite] Summit a bug : data encoded from UTF8 is incorrect

2006-09-21 Thread Nuno Lucas
st it is if you feed UTF-8 data via an UTF-8 encoded file instead of using the keyboard. It should work with the file (because the input is as it should be). If you only use the C interface to access the database then I only found UTF-8 support to be wrong when there was a bug in my own code (as is the case with many sqlite "browsers"). Regards, ~Nuno Lucas

Re: [sqlite] Re: Regarding sqlite3_exec

2006-10-25 Thread Nuno Lucas
T rows FROM rowcount WHERE name = 'myTable'; Hope this helps, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Re: Regarding sqlite3_exec

2006-10-25 Thread Nuno Lucas
On 10/25/06, Dennis Cote <[EMAIL PROTECTED]> wrote: Nuno Lucas wrote: > > There is another alternative if you don't mind to have the overhead of > having an automatic row count (which sqlite avoids by design). It's by > having a trigger that will update the table row coun

Re: [sqlite] Memory Usage

2006-10-27 Thread Nuno Lucas
Run some memory leak tool (e.g. valgrind). May I ask if this is what would be expected, and whether there is anything I can do to lower this loading? Unless you decided to mess with sqlite internals, it's not expected in any way. Thanks for your help, Ben. Best rega

Re: [sqlite] Memory Usage

2006-10-30 Thread Nuno Lucas
before for internal buffers (to speed up your I/O). RSS (the Resident Set Size), is the important one here (unless your program had parts of it swaped out, which would make it less usefull for what we want). Regards, ~Nuno

Re: [sqlite] Memory Usage

2006-10-30 Thread Nuno Lucas
nguage you are using and what libraries you are linking to. You may want to investigate this further. Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Unicode Help

2006-12-07 Thread Nuno Lucas
tions and forget about all this. As an advantage, windows NT internals uses Unicode, so you may have some performance gains in some places (even if negligible most of the time). Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Need a wince test

2006-12-20 Thread Nuno Lucas
aracter encodings" built-in). Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Need a wince test

2006-12-21 Thread Nuno Lucas
Unfortunately can't test it because I don't have Windows anymore (and the gnu-wince toolchain is still too recent to be an authoritative source). Best regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] Question about SQLite for Symbian

2006-12-21 Thread Nuno Lucas
luding the Borland C++ Builder 5.0 IDE. Regards, ~Nuno Lucas see 6.0 Custom Modifications http://www.hwaci.com/sw/sqlite/prosupport.html --- panslaw <[EMAIL PROTECTED]> wrote: > I know that SQLite was written in C and I'm sure it's possible to port > it for Symbian OS. Bu

Re: [sqlite] Mathematical "power" operator?

2006-12-21 Thread Nuno Lucas
actually does this (but an open source one will be easy to recompile that way). Regards, ~Nuno Lucas On 12/21/06, Jeff Godfrey <[EMAIL PROTECTED]> wrote: All, Thanks for the interesting responses. I think I now have a clear understanding of my options, and while not exactly what I was l

Re: [sqlite] Mathematical "power" operator?

2006-12-21 Thread Nuno Lucas
ilable for download on the sqlite.org download page. Well, then you just need to modify src/func.c [1] so that it also "loads" your power function on startup. Maybe looking into how round() is implemented will help you start. Regards, ~Nuno Lucas [1] http://www.sqlite.org/cvstrac/fileview?f=s

Re: [sqlite] multiuser DB on network share

2007-01-10 Thread Nuno Lucas
have to be compatible with older clients (Win9X), a lot of hacks need to be done (not forgetting it was done in a time Microsoft didn't believe in the future of TCP/IP). For better or worse, is still the major network file system for small networks (and I don't see an

Re: [sqlite] Obtaining randomness on win32

2007-01-29 Thread Nuno Lucas
nstead of /dev/random, then I would think CeGenRandom may be enough for the Windows CE implementation (the current sqlite port only compiles out of the box for WinCE 4.x+, anyway). Regards, ~Nuno Lucas - To unsubscribe

Re: [sqlite] SQLite - how to protect the data

2007-02-24 Thread Nuno Lucas
y your databases, though. Regards, ~Nuno Lucas - To unsubscribe, send email to [EMAIL PROTECTED] -

Re: [sqlite] UTF16 Encoding

2007-02-28 Thread Nuno Lucas
On 2/28/07, Pavan <[EMAIL PROTECTED]> wrote: Hi, When i tried to create the db file using API sqlite3_open16("test.db",) it creats the file name with some junk characters. Shouldn't it be "sqlite3_open16(L"test.db",)" ? Regards, ~Nuno Lucas The file n

  1   2   3   >