From 1df329b21dbc9a94ee36ad4f0ebb5cda88e914dd Mon Sep 17 00:00:00 2001 From: Bibiko Date: Mon, 8 Jun 2009 22:40:15 +0000 Subject: =?UTF-8?q?=E2=80=A2=20added:=20"Copy=20as=20SQL=20INSERT"=20^?= =?UTF-8?q?=E2=8C=A5=E2=8C=98C=20-=20up=20to=20now=20only=20available=20fo?= =?UTF-8?q?r=20the=20table=20content=20pane=20-=20supports=20blobs=20-=20i?= =?UTF-8?q?f=20a=20primary=20key=20is=20given=20it=20also=20support=20(not?= =?UTF-8?q?=20yet=20loaded)=20blobs=20and=20long=20text=20data=20fields?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Source/TableContent.m | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'Source/TableContent.m') diff --git a/Source/TableContent.m b/Source/TableContent.m index 7c548307..855c44ca 100644 --- a/Source/TableContent.m +++ b/Source/TableContent.m @@ -154,9 +154,6 @@ theColumns = [tableDataInstance columns]; columnNames = [tableDataInstance columnNames]; - // Init copyTable with necessary information for copying selected rows as SQL INSERT - [tableContentView setTableInfoWithColumns:theColumns withTable:selectedTable]; - // Retrieve the total number of rows of the current table // to adjustify "Limit From:" maxNumRowsOfCurrentTable = [[[tableDataInstance statusValues] objectForKey:@"Rows"] intValue]; @@ -347,6 +344,9 @@ // Reload the table data [tableContentView reloadData]; + // Init copyTable with necessary information for copying selected rows as SQL INSERT + [tableContentView setTableInstance:self withTableData:filteredResult withColumns:theColumns withTableName:selectedTable withConnection:mySQLConnection]; + // Post the notification that the query is finished [[NSNotificationCenter defaultCenter] postNotificationName:@"SMySQLQueryHasBeenPerformed" object:self]; } -- cgit v1.2.3