Bug: Berkley DB seems to have problems with multi table updates.

2004-02-29 Thread Thomas Kathmann
Hi, if I try a multi table update with a Berkley DB Table, where the updated table is bigger than the joined table, the system produces the strange "Got error 22 from table handler" error. The attached (zipped) script should demonstrate the problem. Gruß, Thomas Kathmann [EMAIL PROTECTED] <> --

re: re: re: re: Multi-Table Updates

2002-12-02 Thread Egor Egorov
ajitdixit, Wednesday, November 27, 2002, 7:44:55 PM, you wrote: aasdcdi> I had earlier downloaded mysql-4.1.1 development branch source code and had aasdcdi> noticed that This bug is also present in 4.1.1 development tree source code Merge of 4.0.6 changes into 4.1 was made several days ago. aas

re: re: re: Multi-Table Updates

2002-11-27 Thread ajitdixit
Hi , Thanks for reply I had earlier downloaded mysql-4.1.1 development branch source code and had noticed that This bug is also present in 4.1.1 development tree source code I had downloaded mysql-4.0 development source code as mentioned in mysql documentation but could not compile it as innodb

re: re: re: Multi-Table Updates

2002-11-27 Thread Egor Egorov
ajitdixit, Wednesday, November 27, 2002, 7:04:51 AM, you wrote: aasdcdi> Result for Show Grants is as under aasdcdi> SQL result aasdcdi> Host: localhost aasdcdi> SQL-query: SHOW GRANTS FOR aldixit@localhost; aasdcdi> Grants for aldixit@localhost aasdcdi> GRANT CREATE TEMPORARY TABLES, LOCK TAB

re: re: Multi-Table Updates

2002-11-26 Thread ajitdixit
Hi , Result for Show Grants is as under SQL result Host: localhost SQL-query: SHOW GRANTS FOR aldixit@localhost; Grants for aldixit@localhost GRANT CREATE TEMPORARY TABLES, LOCK TABLES ON *.* TO 'aldixit'@'localhost' IDENTIFIED BY PASSWORD 'xx' GRANT SELECT ON `mysql`.* TO 'aldixi

re: re: Multi-Table Updates

2002-11-26 Thread Egor Egorov
ajitdixit, Tuesday, November 26, 2002, 4:18:42 PM, you wrote: aasdcdi> I have update priviledge on all the tables mentioned in the query aasdcdi> I am able to update one table at time with the same connection aasdcdi> There is some more requirement or bug in mysql for multi-table update Show me

re: Multi-Table Updates

2002-11-26 Thread ajitdixit
I have update priviledge on all the tables mentioned in the query I am able to update one table at time with the same connection There is some more requirement or bug in mysql for multi-table update Regards Ajit - This mail sent through http://s

re: Multi-Table Updates

2002-11-26 Thread Egor Egorov
ajitdixit, Tuesday, November 26, 2002, 10:33:04 AM, you wrote: aasdcdi> I am using mysql-4.0.5a-beta on Linux Redhat 7.3 server with php-4.3.0RC1 aasdcdi> When I connect and execute my quiries as root user my query of multi-table aasdcdi> update works fine aasdcdi> update Stockists , areas set S

Multi-Table Updates

2002-11-26 Thread ajitdixit
I am using mysql-4.0.5a-beta on Linux Redhat 7.3 server with php-4.3.0RC1 When I connect and execute my quiries as root user my query of multi-table update works fine update Stockists , areas set Stockists.a_nm = areas.aname where Stockists.area=areas.acd Query Executed OK , one row affected

re: Multi-Table Updates

2002-10-14 Thread Egor Egorov
Fraser, Monday, October 14, 2002, 10:50:35 AM, you wrote: FS> Does anyone have the syntax for multi-table updates? FS> The Online Mysql manual (for version 4.0.5) only has: FS> UPDATE [LOW_PRIORITY] [IGNORE] tbl_name FS> SET col_name1=expr1 [, col_name2=expr2, ...] FS

Multi-Table Updates

2002-10-14 Thread Fraser Stuart
Hi All, Does anyone have the syntax for multi-table updates? The Online Mysql manual (for version 4.0.5) only has: UPDATE [LOW_PRIORITY] [IGNORE] tbl_name SET col_name1=expr1 [, col_name2=expr2, ...] [WHERE where_definition] [ORDER BY ...] [LIMIT #] Where as the other multi

RE: Multi-table updates in MySQL

2002-09-17 Thread Maarten Roosen
to:[EMAIL PROTECTED]] > Sent: woensdag 18 september 2002 7:36 > To: [EMAIL PROTECTED] > Subject: Multi-table updates in MySQL > > > I'm using MySQL v3.23.52. > > I want to update a column in one table to be based on a calculated expression > from a column i

Multi-table updates in MySQL

2002-09-17 Thread Phil Kernick
I'm using MySQL v3.23.52. I want to update a column in one table to be based on a calculated expression from a column in another table. Specifically I want something like this: mysql> update a set a.f1=b.f1 where a.f2=b.f2; mysql> update a, b set a.f1=b.f1 where a.f2=b.f2; The first says tabl

Re: Multi-table updates

2002-01-02 Thread Sinisa Milivojevic
no way to port these queries to MySQL. Let me know if you have a > suggestion to do this. > > Thanks for a great product, I look forward to using it exclusively in our > new package. > > Mike Frederick > WayCool Software, Inc. > Hi! Multi-table updates are commin

Multi-table updates

2002-01-02 Thread Mike Frederick
Hello: I am testing a new product with MySQL, and so far have been very pleased, especially with the performance. One enhancement that I was looking forward to in 4.0 is described below: Updates that run over multiple tables is harder to do in MySQL. This will, however, be fixed in MySQL 4.0 wi