Re: [sqlite] SQLite: Database or disk full

2011-11-21 Thread Roger Binns
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 21/11/11 23:02, gavyas wrote: > I dont understand why I am getting this error. My best guess would be that a fork is happening after the database has been opened inserted by the compiler (but not gcc) in order to make things parallel. If you do a

[sqlite] Problems with SQLite when used with MPI

2011-11-21 Thread Gaurav Vyas
Here is the situation. I am using a cluster on which you can use MPI to split the processing time on to different processors. I was using PostgreSQL but since the data was on different server than the one I am running the code, it was slowing down the simulation due to connection overhead on

Re: [sqlite] SQLite: Database or disk full

2011-11-21 Thread gavyas
Here is the situation. I am using a cluster on which you can use MPI to split the processing time on to different processors. I was using PostgreSQL but since the data was on different server than the one I am running the code, it was slowing down the simulation due to connection overhead on

Re: [sqlite] SQLite: Database or disk full

2011-11-21 Thread gavyas
Its working fine with g++ compiler but not mpicc!! Dan Kennedy-4 wrote: > > On 11/22/2011 09:48 AM, gavyas wrote: >> >> I checked the code again and debugged it. The code gave error when I am >> passing the querry "SELECT * FROM households ORDER BY zone_id LIMIT 1 >> OFFSET 0" but it ran

Re: [sqlite] Followup: Added Missing error message to past post.

2011-11-21 Thread Taleeb Anwar
Download the x64 mixed-mode assembly compiled statically against the .NET Framework 3.5 (as you are using VS2010 on a 64 bit computer). Regarding targetting x86 users you can control this by using the property of the project... Thanks & Regards Taleeb Anwar *Hum Mashriq Ke "Miskeenon" Ka Dil

Re: [sqlite] SQLite: Database or disk full

2011-11-21 Thread Dan Kennedy
On 11/22/2011 09:48 AM, gavyas wrote: I checked the code again and debugged it. The code gave error when I am passing the querry "SELECT * FROM households ORDER BY zone_id LIMIT 1 OFFSET 0" but it ran successfully for LIMIT 5000. I dont understand if there is an upper limit on LIMIT or

Re: [sqlite] SQLite: Database or disk full

2011-11-21 Thread gavyas
I checked the code again and debugged it. The code gave error when I am passing the querry "SELECT * FROM households ORDER BY zone_id LIMIT 1 OFFSET 0" but it ran successfully for LIMIT 5000. I dont understand if there is an upper limit on LIMIT or what but the table "households" has 1

Re: [sqlite] Followup: Added Missing error message to past post.

2011-11-21 Thread Dave
On 11/21/2011 3:53 PM, Joe Mistachkin wrote: I am running my Visual Studio on Win 7 64 Bit Pro but my database needs are simple for now so I am not sure which download I need or which framework to target. I want XP users to be able to use my software so I am guessing I should go with the 3.5

Re: [sqlite] SQLite: Database or disk full

2011-11-21 Thread Simon Slavin
On 21 Nov 2011, at 11:09pm, gavyas wrote: > I am able to run the code successfully when I dont use parallel runs. It > gives error when I am running the code parallely. Ahha. That's a more useful diagnostic. If you haven't already, read these:

Re: [sqlite] SQLite: Database or disk full

2011-11-21 Thread gavyas
I am able to run the code successfully when I dont use parallel runs. It gives error when I am running the code parallely. On 21 Nov 2011, at 9:44pm, gavyas wrote: > I am using SQLite to handle database while running a simulation on > supercomputers here. I am using MPI process to do multiple

Re: [sqlite] SQLite: Database or disk full

2011-11-21 Thread Simon Slavin
On 21 Nov 2011, at 9:44pm, gavyas wrote: > I am using SQLite to handle database while running a simulation on > supercomputers here. I am using MPI process to do multiple threading. I am > keep getting error that says "database or disk is full" while passing any > querry to SQLite. I have

Re: [sqlite] Followup: Added Missing error message to past post.

2011-11-21 Thread Joe Mistachkin
> > I am running my Visual Studio on Win 7 64 Bit Pro but my database needs > are simple for now so I am not sure which download I need or which > framework to target. I want XP users to be able to use my software so I > am guessing I should go with the 3.5 framework. And I also am guessing

[sqlite] SQLite: Database or disk full

2011-11-21 Thread gavyas
Hi all, I am using SQLite to handle database while running a simulation on supercomputers here. I am using MPI process to do multiple threading. I am keep getting error that says "database or disk is full" while passing any querry to SQLite. I have checked the space quota and I have so much of

[sqlite] SQLite: Database or disk full

2011-11-21 Thread gavyas
Hi all, I am using SQLite to handle database while running a simulation on supercomputers here. I am using MPI process to do multiple threading. I am keep getting error that says "database or disk is full" while passing any querry to SQLite. I have checked the space quota and I have so much of

[sqlite] Followup: Added Missing error message to past post.

2011-11-21 Thread Dave
Hi, I want to use SQLite with VB.Net. I have Visual Studio 2010 Pro. I have downloaded and installed the SQLite-1.0.66.0 setup from: http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.66.0/ This installed fine. Then I went to the SQLite page here to get

[sqlite] SQLite and VB.Net Questions

2011-11-21 Thread Dave
Hi, I want to use SQLite with VB.Net. I have Visual Studio 2010 Pro. I have downloaded and installed the SQLite-1.0.66.0 setup from: http://sourceforge.net/projects/sqlite-dotnet2/files/SQLite%20for%20ADO.NET%202.0/1.0.66.0/ This installed fine. Then I went to the SQLite page here to get

Re: [sqlite] Confused by DELETE statement error

2011-11-21 Thread Pavel Ivanov
DELETE statement doesn't support ORDER BY clause and by default doesn't support LIMIT clause. So you should do the select, find the value of prty for the second row and then issue a delete adding to its WHERE clause "and prty < ?" where you will bind that value of prty you found. Pavel On Mon,

Re: [sqlite] Confused by DELETE statement error

2011-11-21 Thread Igor Tandetnik
On 11/21/2011 3:32 PM, Don V Nielsen wrote: I'm confused by the error message, "near 'order' : syntax error", with the following statement. The same statement, beginning with "select *" in place of "delete", will function fine. delete from seg_ny_adds where needid = 90 order by prty desc limit

[sqlite] Confused by DELETE statement error

2011-11-21 Thread Don V Nielsen
I'm confused by the error message, "near 'order' : syntax error", with the following statement. The same statement, beginning with "select *" in place of "delete", will function fine. delete from seg_ny_adds where needid = 90 order by prty desc limit (select count() from seg_ny_adds where needid

Re: [sqlite] Proper way to change temp directory

2011-11-21 Thread Don V Nielsen
In Ruby (just for giggles), its Dir.chdir('dir text') {|dir| # do your sort stuff here } # previous directory restored when logic block is completed On Sun, Nov 20, 2011 at 3:50 AM, Yang Zhang wrote: > Cool beans, perhaps this should be added to the docs! > > On

Re: [sqlite] sqlite command shell - read/process file then exit?

2011-11-21 Thread Simon Davies
On 21 November 2011 13:41, SupportLists wrote: > Hi, > > I am trying to use sqlite3 command shell with -init filename. > > The file has: > > CREATE TABLE griddata (id_suit VARCHAR(14) PRIMARY KEY,xpos DECIMAL(7),ypos > DECIMAL(7),cellvalue DECIMAL(14,5) DEFAULT -); >

[sqlite] sqlite command shell - read/process file then exit?

2011-11-21 Thread SupportLists
Hi, I am trying to use sqlite3 command shell with -init filename. The file has: CREATE TABLE griddata (id_suit VARCHAR(14) PRIMARY KEY,xpos DECIMAL(7),ypos DECIMAL(7),cellvalue DECIMAL(14,5) DEFAULT -); .separator "," .import /home/cquiros/temp/layers/layers/New/lgp001.csv griddata ALTER

Re: [sqlite] cyrillic search

2011-11-21 Thread Simon Slavin
On 21 Nov 2011, at 12:44am, coax wrote: > I'm trying to do a simple search like this: > > select * from foo where bar like "%тпример%"; > > but sqlite isn't allowing me to enter the cyrillic text for some > reason. It either does nothing or acts like I hit the up arrow for a > few of the

[sqlite] cyrillic search

2011-11-21 Thread coax
I'm trying to do a simple search like this: select * from foo where bar like "%тпример%"; but sqlite isn't allowing me to enter the cyrillic text for some reason. It either does nothing or acts like I hit the up arrow for a few of the letters. Any ideas on how to get this working?

Re: [sqlite] FTS3/FTS4 - Finding the term(s) that completes the input

2011-11-21 Thread Mohit Sindhwani
Hi Filip, On 21/11/2011 4:33 PM, Filip Navara wrote: On Mon, Nov 21, 2011 at 4:13 AM, Mohit Sindhwani wrote: I think my examples muddied the waters. I have looked at Section 3 of the FTS documents and that lets me bring back the "full result" that matches - so, if I search

Re: [sqlite] disk I/O error

2011-11-21 Thread Richard Hipp
On unix, you should usually only get SQLITE_IOERR_WRITE if write() returns -1 for some reason other than ENOSPC - in other words, if the write failed for some reason other than the disk being full. On Mon, Nov 21, 2011 at 4:05 AM, Tal Tabakman wrote: > As a continuation

[sqlite] disk I/O error

2011-11-21 Thread Tal Tabakman
As a continuation to the bellow: I am using linux RH5 "uname -a" on my machine gives: Linux vl-talt 2.6.18-194.el5 #1 SMP Tue Mar 16 21:52:39 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux On Sun, Nov 20, 2011 at 6:53 AM, Tal Tabakman http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users>>wrote:

Re: [sqlite] FTS3/FTS4 - Finding the term(s) that completes the input

2011-11-21 Thread Filip Navara
On Mon, Nov 21, 2011 at 4:13 AM, Mohit Sindhwani wrote: > Hi Abhinav, > > > On 21/11/2011 2:52 AM, Abhinav Upadhyay wrote: > >> On Mon, Nov 21, 2011 at 12:17 AM, Mohit Sindhwani wrote: >> >>> What I'd like to be able to do is something like this: >>> >>> - let's