home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / database / 5793 < prev    next >
Encoding:
Text File  |  1992-07-27  |  1.4 KB  |  29 lines

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