Bugzilla – Attachment 145001 Details for
Bug 42905
Wizard table: Remove autovalue from step2 which doesn't work since there's already autovalue in step3 which works.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
patch to remove autoincrement-statement field
patch.txt (text/plain), 1.50 KB, created by
Julien Nabet
on 2018-09-18 20:07:08 UTC
(
hide
)
Description:
patch to remove autoincrement-statement field
Filename:
MIME Type:
Creator:
Julien Nabet
Created:
2018-09-18 20:07:08 UTC
Size:
1.50 KB
patch
obsolete
>diff --git a/dbaccess/source/ui/control/FieldDescControl.cxx b/dbaccess/source/ui/control/FieldDescControl.cxx >index 4f22d829ff10..5a86b07b5e69 100644 >--- a/dbaccess/source/ui/control/FieldDescControl.cxx >+++ b/dbaccess/source/ui/control/FieldDescControl.cxx >@@ -593,37 +593,6 @@ IMPL_LINK( OFieldDescControl, ChangeHdl, ListBox&, rListBox, void ) > } > } > >- // A special treatment only for AutoIncrement >- if (&rListBox == pAutoIncrement) >- { >- if(rListBox.GetSelectedEntryPos() == 1) >- { // no >- DeactivateAggregate( tpAutoIncrementValue ); >- if(pActFieldDescr->IsPrimaryKey()) >- DeactivateAggregate( tpRequired ); >- else if( pActFieldDescr->getTypeInfo()->bNullable ) >- { >- ActivateAggregate( tpRequired ); >- if(pRequired) >- { >- if( pActFieldDescr->IsNullable() ) >- pRequired->SelectEntryPos( 1 ); // no >- else >- pRequired->SelectEntryPos( 0 ); // yes >- } >- } >- ActivateAggregate( tpDefault ); >- } >- else >- { >- DeactivateAggregate( tpRequired ); >- DeactivateAggregate( tpDefault ); >- ActivateAggregate( tpAutoIncrementValue ); >- } >- // Move all up >- ArrangeAggregates(); >- } >- > if(&rListBox == m_pType) > { > TOTypeInfoSP pTypeInfo = getTypeInfo(m_pType->GetSelectedEntryPos());
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 Raw
Actions:
View
Attachments on
bug 42905
:
53502
|
53503
|
53504
|
58957
|
145001