Warning, but I don't see the error
jda
jda at his.com
Fri Sep 7 18:03:42 CDT 2007
>On 7/9/07 11:11 PM, "jda" <jda at his.com> wrote:
>
>>>> But here is the declaration in my bobject:
>>>>
> >>> VarCharField = CreateVarCharField("VarCharField", 2044, EVFlag.fNone)
> >>> VarCharField.storageEncoding = "UTF16"
>>>>
>>>> and here is what viSQL says is defined in the db itself:
>>>>
>>>> VarCharField VarChar[2044]
>>>>
>>>> Do you see why an exception is thrown?
>>>
>>
>> Hi, you're right! Odd, I copied it out of Console. OK, here is the
>> warning message I get again (I'll type it).
>>
>> Exception catched during read of system tables.
>>
>> : Field "verCharField", attribute "MaxLength" is not matched with
>> schema-stored attribute.
>>
>> But the schema (above) does match what viSLQ reports (above).
>
>It seems you have this field in both tables.
>Please check second table.
>
Hi Ruslan,
There is only one table.
This is class-way definition of this part of the schema
VarCharField = CreateVarCharField("VarCharField", 2044, EVFlag.fNone)
VarCharField.storageEncoding = "UTF16"
When I examine this table in the "bad" database with viSQL it shows me
VarCharField VarCHar[2044]
which is correct.
But the warning log says MaxLength doesn't match the schema.
I don't get it...
Jon
More information about the Valentina
mailing list