[ 
https://forge.continuent.org/jira/browse/SEQUOIA-934?page=comments#action_13868 
] 

Emmanuel Cecchet commented on SEQUOIA-934:
------------------------------------------

The code in 2.10 is not clean for schema dumping since DatabaseSchema.getXml is 
only designed to dump a static schema.
The DatabaseSchema is currently dumped from DatabaseBackend.getXml() that 
misses to dump the semantic information if the schema is dynamic.

3.x uses a different DTD and different way to express the semantic so a hack 
either in DatabaseBackend or DatabaseSchema has to be found.

> XML configuration for DatabaseSchema misses semanticinformation
> ---------------------------------------------------------------
>
>          Key: SEQUOIA-934
>          URL: https://forge.continuent.org/jira/browse/SEQUOIA-934
>      Project: Sequoia
>         Type: Bug
>   Components: Core
>     Versions: Sequoia 2.10.6, Sequoia 2.10.5, Sequoia 2.10.4, Sequoia 2.10.3, 
> Sequoia 2.10.2, Sequoia 2.10.1, Sequoia 2.10
>  Environment: Any Sequoia 2.10 version
>     Reporter: Emmanuel Cecchet
>      Fix For: Sequoia 2.10.7

>
>
> Reported by Paul Mackay on the mailing list:
> I have a backend configured like this in my virtuadatabase XML configuration 
> file :
>  <DatabaseSchema dynamicPrecision="procedures">
>                <DefaultStoredProcedureSemantic hasDDL="false"/>
>  </DatabaseSchema>
> But when I enter in admin mode on the Sequoia console and execute the "show 
> virtualdatabase config" command, the same part of the configuration is now :
> <DatabaseSchema dynamicPrecision="procedures" gatherSystemTables="false"/>
> without the DefaultStoredProcedureSemantic declaration.
> And indeed, since "hasDDL" default value is true, when replaying the recovery 
> log on reenabling the backend, I notice that "a full schema refresh [is] 
> performed after each stored procedure execution", as specified the virtual 
> databse confuguration DTD. Is there any explication for this ? 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   https://forge.continuent.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


_______________________________________________
Sequoia mailing list
[EMAIL PROTECTED]
https://forge.continuent.org/mailman/listinfo/sequoia

Reply via email to