[V4MD] 1.11 Carbon bug?

Daniel Crowder daniel at monumental-i.com
Sun Sep 26 04:00:28 CDT 2004


> Bad.

Very!

> Do you get any error code ?

I don't get any error codes. I even checked the process with the debug 
level on 3. Other than it not writing the data, it seemed to work fine.

> Send me please just database, and the full text of above query.
> I will try do it from viSQL

Will do. Although the queries are very very simple. Here are the actual 
dynamic queries - they all work in 1.10 and not in 1.11 using OSX V4MD 
in Director 10.1.

Here is the data:
http://comps.monumental-i.com/example/data.zip

Here are the commands:

-- "SQL  ->  SELECT *, RecID FROM categories WHERE RecID=28"
-- "V4MD ->  UpdateAllRecords(dbCursor,[#sequence:8])"
-- "SQL  ->  SELECT *, RecID FROM categories WHERE RecID=2"
-- "V4MD ->  UpdateAllRecords(dbCursor,[#sequence:8])"
-- "SQL  ->  SELECT *, RecID FROM categories WHERE RecID=80"
-- "V4MD ->  UpdateAllRecords(dbCursor,[#sequence:8])"
-- "SQL  ->  SELECT *, RecID FROM categories WHERE RecID=87"
-- "V4MD ->  UpdateAllRecords(dbCursor,[#sequence:8])"
-- "SQL  ->  SELECT *, RecID FROM categories WHERE RecID=158"
-- "V4MD ->  UpdateAllRecords(dbCursor,[#sequence:1])"
-- "SQL  ->  SELECT *, RecID FROM categories WHERE RecID=164"
-- "V4MD ->  UpdateAllRecords(dbCursor,[#sequence:1])"
-- "SQL  ->  SELECT *, RecID FROM categories WHERE RecID=165"
-- "V4MD ->  UpdateAllRecords(dbCursor,[#sequence:1])"




One favor: If I give you the database would you be so kind as to tell 
me what you would recommend the memory setting to be with that 
database? I currently have it set to  ValentinaInit( 20 * 1024 * 1024,  
  "XXXXX", "XXXXXX" ) - is that too much memory?


On Sep 26, 2004, at 3:26 AM, Ruslan Zasukhin wrote:

> On 9/26/04 6:20 AM, "Daniel Crowder" <daniel at monumental-i.com> wrote:
>
> Hi Daniel,
>
>> I hope this problem is me :(
>>
>> The bottom line is that the following works in 1.10 but not in 1.11 on
>> OSX using director:
>>
>> on mousedown me
>>  o=p_DB.obj_editor.active_cat_list[1].sequence
>>  set query = "SELECT *, RecID FROM categories WHERE
>> RecID="&p_DB.obj_editor.active_cat_id
>>  set dbCursor = new( xtra "VCursor", GetRef(p_DB.db),query,1,3)
>>  UpdateAllRecords(dbCursor, [#sequence:(o-1)] )
>>  dbCursor=0
>> end
>>
>> I was trying to figure out what was wrong for hours trying to
>> understand why this was working in author mode but not in the 
>> projector
>> until I realized that my authoring application was using
>> V4MD_Carbon.Xtr 1.10 and the projector (using an external Xtras 
>> folder)
>> was using V4MD_Carbon.Xtr 1.11
>>
>> Basically the above, which is pretty standard code, doesn't work using
>> 1.11 in either authoring mode or compiled into a projector while in
>> 1.10 it works fine.
>>
>> Ruslan, email off list if you want code or my AIM address to walk
>> through anything.
>>
>> What was changed in 1.11 again? Should I roll back?
>
> Bad.
>
> Do you get any error code ?
>
> How it "not works"?  Empty cursor? Or else?
>
> Send me please just database, and the full text of above query.
> I will try do it from viSQL
>
>
> -- 
> Best regards,
> Ruslan Zasukhin      [ I feel the need...the need for speed ]
> -------------------------------------------------------------
> e-mail: ruslan at paradigmasoft.com
> web: http://www.paradigmasoft.com
>
> To subscribe to the Valentina mail list go to:
> http://lists.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina
>


More information about the Valentina mailing list