Revision: 6247
http://squirrel-sql.svn.sourceforge.net/squirrel-sql/?rev=6247&view=rev
Author: wis775
Date: 2011-04-28 19:43:17 +0000 (Thu, 28 Apr 2011)
Log Message:
-----------
3293737: A exception occurs if the value of a SMALLINT column is edited in a result table.
It is necessary, that the data of a content tab is read by the CellComponentFactory.
Modified Paths:
--------------
trunk/sql12/app/src/main/java/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLExecutionHandler.java
trunk/sql12/doc/src/main/resources/changes.txt
Modified: trunk/sql12/app/src/main/java/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLExecutionHandler.java
===================================================================
--- trunk/sql12/app/src/main/java/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLExecutionHandler.java 2011-04-26 20:14:11 UTC (rev 6246)
+++ trunk/sql12/app/src/main/java/net/sourceforge/squirrel_sql/client/session/mainpanel/SQLExecutionHandler.java 2011-04-28 19:43:17 UTC (rev 6247)
@@ -218,7 +218,7 @@
* message panel, otherwise the UI will get behind and slow the execution
* of the script and prevent the user from cancelling the operation. So
* this method will track the total time when executing a large script,
- * otherwise for small scripts it puts out a message for every statement.
+ * otherwise for small scripts it puts out a message for every statemselect * from employeeent.
*/
public void sqlExecutionComplete(SQLExecutionInfo exInfo,
int processedStatementCount,
@@ -409,7 +409,8 @@
}
DialectType dialectType =
DialectFactory.getDialectType(_session.getMetaData());
- info.setNumberResultRowsRead(rsds.setResultSet(rs, dialectType));
+
+ info.setNumberResultRowsRead(rsds.setContentsTabResultSet(rs, null, dialectType));
_executionHandlerListener.addResultsTab(info, rsds, rsmdds, model, _resultTabToReplace);
rsds = null;
Modified: trunk/sql12/doc/src/main/resources/changes.txt
===================================================================
--- trunk/sql12/doc/src/main/resources/changes.txt 2011-04-26 20:14:11 UTC (rev 6246)
+++ trunk/sql12/doc/src/main/resources/changes.txt 2011-04-28 19:43:17 UTC (rev 6247)
@@ -52,6 +52,8 @@
Bug-fixes:
+3293737: A exception occurs if the value of a SMALLINT column is edited in a result table.
+
When editing table cells in a text area, the input field for the file name will be shown in an appropriate size
instead of being very small. If the user change the size of the dialog, the input field for the file name will use the extra space.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|