Re: [sqlite] Re: data base locked problem

2007-09-11 Thread Armin Steinhoff

"Igor Tandetnik" <[EMAIL PROTECTED]> schrieb am 11.09.2007 13:40:30:
> 
> Armin Steinhoff  wrote:
> > if we are try to create a new data base with sqlite
> > we see the following error outputs:
> >
> > # sqlite x.db
> > OPEN3   /appl/sbin/x.db
> > OPEN-EX 4   /tmp/sqlite_Iihb60vuQk4Nf9D
> > SQLite version 2.8.0
> > Enter ".help" for instructions
> > sqlite> create table yy(xx char(10), x int);
> > SQL error: database is locked
> > sqlite> .q
> > CLOSE   3
> > CLOSE   4
> >
> > What's the problem ??
> 
> My guess is, the user account you are running under doesn't have 
> permissions to create new files under /appl/sbin. 

No, that's not the case. Please see the correct file descriptors
shown by the trace output (OPEN / OPEN-EX)

--Armin

>The error message is 
> somewhat misleading.
> 
> Igor Tandetnik 
> 
> 
> -
> To unsubscribe, send email to [EMAIL PROTECTED]
> -
> 
> 
_
Der WEB.DE SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen!
http://smartsurfer.web.de/?mc=100071=0066


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



[sqlite] data base locked problem

2007-09-11 Thread Armin Steinhoff


Hello,

if we are try to create a new data base with sqlite 
we see the following error outputs:

# sqlite x.db
OPEN3   /appl/sbin/x.db
OPEN-EX 4   /tmp/sqlite_Iihb60vuQk4Nf9D
SQLite version 2.8.0
Enter ".help" for instructions
sqlite> create table yy(xx char(10), x int);
SQL error: database is locked
sqlite> .q
CLOSE   3
CLOSE   4

What's the problem ??

Best Regards

Armin 
__
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!
Jetzt testen! http://produkte.web.de/club/?mc=021130


-
To unsubscribe, send email to [EMAIL PROTECTED]
-



Re: [sqlite] QNX and PPC

2004-08-07 Thread Armin Steinhoff
[EMAIL PROTECTED] schrieb am 06.08.04 19:40:55:

>Hello everybody,

>does someone have any experience with building for the QNX operating 
>system? And for the Power PC processor?

>QNX 6.2.1 is a real-time Linux but it behaves strangely sometimes.

No .. it doesn't behave 'strangely" at all :)

> It has not gcc but a qcc compiler. 

qcc is only a frontend of the gcc ... so QNX has gcc.

>Our testing program runs correctly on 
>the x86 PC. It creates a database, a table, inserts and selects data. 
>But the same program cross-compiled on the same computer for PPC ends at 
>the first "CREATE TABLE" statement with SQLITE_BUSY.

>I am using SQLite 2.8.6. Is it possible that the little-or-big-endian 
>thing could cause this trouble? 

That's the case ..

Regards

   Armin Steinhoff




>Or do you have any other ideas?

>Thank you very much,
>Jakub



Aufnehmen, abschicken, nah sein - So einfach ist 
WEB.DE Video-Mail: http://freemail.web.de/?mc=021200