MySQL inserts and disk full - how to handle gracefully?

2005-04-01 Thread Andrew Braithwaite
Hi All, When you do a insert into a MySQL database and the disk is full, the insert just hangs waiting for that table to become available. This is fine for applications that care about data integrity. In this case I care more about availability and speed and would prefer it if the inserts gracef

MySQL inserts and disk full - how to handle gracefully?

2005-03-30 Thread Andrew Braithwaite
Hi All, When you do a insert into a MySQL database and the disk is full, the insert just hangs waiting for that table to become available. This is fine for applications that care about data integrity. In this case I care more about availability and speed and would prefer it if the inserts grac

Re: Mysql ++, Inserts

2002-01-04 Thread Sinisa Milivojevic
Joshua Angolano writes: > Can, you send insert statements through standard SQL, instead of using > special structures? Here is an example: > > > String loc; > loc="home"; > Query query = con.query(); > query << "insert into loacation (user_location) values('"< query.execute(); > > > Assuming

Mysql ++, Inserts

2002-01-04 Thread Joshua Angolano
Can, you send insert statements through standard SQL, instead of using special structures? Here is an example: String loc; loc="home"; Query query = con.query(); query << "insert into loacation (user_location) values('"