home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!mips!mips!munnari.oz.au!metro!utsmips!state.COM.AU!rupee!steven
- From: steven@dev.state.COM.AU (Steven Sweeting)
- Subject: Sybase db-library 4.6 `feature'
- Message-ID: <steven.711961575@rupee>
- Summary: dbrpcparam data not used until dbrpcsend, potential corruption
- Keywords: sybase db-library dbrpcparam
- Sender: news@state.COM.AU
- Organization: Group Treasury, State Bank of NSW
- Date: 24 Jul 92 07:06:15 GMT
- Lines: 16
-
- This is currently undocumented, so to save someone else debugging...
-
- The dbrpcparam() call in Sybase Open Client library version 4.6 (on
- SPARC) operates differently to the previous version 4.0. dbrpcparam
- accepts a parameter `value', which is a pointer to the value you want
- to send as a parameter. In 4.6, this pointer is not dereferenced until
- dbrpcsend() is called. You must thus guarantee that the data does not
- change. (or rather that the data is valid at the time of dbrpcsend()).
-
- Other than that things check out ok, the new registered stored procedures
- for asynchronous callbacks look pretty powerful.
- --
- -----------------8<-------------------8<-------------------8<----------------
- Steven Sweeting, Treasury Systems, steven@dev.state.com.au
- State Bank of New South Wales, Grosvenor Place ph. +61 2 259-4144
- L40 225 George St, Sydney, NSW 2000, Australia fax. +61 2 251-8009
-