Login
Log in using an SSO provider:
Fedora Account System
Red Hat Associate
Red Hat Customer
Login using a Red Hat Bugzilla account
Forgot Password
Create an Account
Red Hat Bugzilla – Attachment 360890 Details for
Bug 523110
autoincrement bustage on column redefinition
Home
New
Search
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh90 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
[?]
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
patch to fix
hsqldb.ooo104901.patch (text/plain), 1.82 KB, created by
Caolan McNamara
on 2009-09-14 07:49:38 UTC
(
hide
)
Description:
patch to fix
Filename:
MIME Type:
Creator:
Caolan McNamara
Created:
2009-09-14 07:49:38 UTC
Size:
1.82 KB
patch
obsolete
>--- misc/hsqldb/src/org/hsqldb/Table.java 2007-10-19 23:59:07.000000000 +0200 >+++ misc/build/hsqldb/src/org/hsqldb/Table.java 2009-09-11 13:45:42.939231519 +0200 >@@ -149,10 +149,10 @@ > Constraint[] constraintList; // constrainst for the table > HsqlArrayList[] triggerLists; // array of trigger lists > private int[] colTypes; // fredt - types of columns >- private int[] colSizes; // fredt - copy of SIZE values for columns >+ int[] colSizes; // fredt - copy of SIZE values for columns > private int[] colScales; // fredt - copy of SCALE values for columns > private boolean[] colNullable; // fredt - modified copy of isNullable() values >- private Expression[] colDefaults; // fredt - expressions of DEFAULT values >+ Expression[] colDefaults; // fredt - expressions of DEFAULT values > private int[] defaultColumnMap; // fred - holding 0,1,2,3,... > private boolean hasDefaultValues; //fredt - shortcut for above > boolean sqlEnforceSize; // inherited from the database - >--- misc/hsqldb/src/org/hsqldb/TableWorks.java 2007-01-14 06:48:16.000000000 +0100 >+++ misc/build/hsqldb/src/org/hsqldb/TableWorks.java 2009-09-11 13:47:50.328667463 +0200 >@@ -670,7 +670,8 @@ > // default expressions can change > oldCol.setType(newCol); > oldCol.setDefaultExpression(newCol.getDefaultExpression()); >- table.setColumnTypeVars(colIndex); >+ table.colSizes[colIndex] = oldCol.getSize(); >+ table.colDefaults[colIndex] = oldCol.getDefaultExpression(); > table.resetDefaultsFlag(); > > return;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 523110
: 360890