RE: UPDATE query with ORDER BY and LIMIT

2001-02-21 Thread Denis Gasparin
I see the definition of update in the online manual... This is the link: http://www.mysql.com/doc/U/P/UPDATE.html and this is what is written: From MySQL manual ONLINE *** UPDATE [LOW_PRIORITY] [IGNORE] tbl_name SET col_name1=expr1, [col_name2=expr2, ...]

UPDATE query with ORDER BY and LIMIT

2001-02-21 Thread Denis Gasparin
Hi to all! I have to use an UPDATE query with ORDER BY and LIMIT clauses. This is the query: UPDATE TBLTEST SET LOCKEDBY='test' WHERE FIELD1 LIKE 'test_' ORDER BY INS_DATE LIMIT 1; MySql tells me that I have an error in my SQL syntax near 'ORDER BY INS_DATE' at line 1. I use Mysql 3.23.30-gam

LOAD TABLE FROM MASTER and deleted records

2001-01-17 Thread Denis Gasparin
I issue a LOAD TABLE FROM MASTER command every night to keep in sync the master and the slave. Yesterday i have done the following test: a) stopped the slave update (SLAVE STOP) at the 18:00 b) deleted the table in the slave and issued the LOAD TABLE FROM MASTER command at the 05:00 am of the d

RE: What does this mean ?

2001-01-15 Thread Denis Gasparin
MySQL in your case? > >Maciek > > > -Original Message- > > From: Denis Gasparin [mailto:[EMAIL PROTECTED]] > > Sent: Monday, January 15, 2001 6:00 PM > > To: [EMAIL PROTECTED] > > Subject: What does this mean ? > > > > > > From when I

What does this mean ?

2001-01-15 Thread Denis Gasparin
From when I installed the mysql 3.23.30gamma I have mysql reporting these warnings: 10115 17:51:22 Aborted connection 2886 to db: 'db_name' user: 'user' host: `www.host' (Got an error reading communication packets) 010115 17:51:36 Aborted connection 3754 to db: 'db_name' user: 'user' host: