boot910.sql 3.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. { ************************************************************************* }
  2. { }
  3. { Licensed Materials - Property of IBM and/or HCL }
  4. { }
  5. { IBM Informix Dynamic Server }
  6. { (c) Copyright IBM Corporation 1996, 2004 All rights reserved. }
  7. { (c) Copyright HCL Technologies Ltd. 2017. All Rights Reserved. }
  8. { }
  9. { ************************************************************************* }
  10. { }
  11. { Title: boot910.sql }
  12. { }
  13. { Description: }
  14. { Bootstrapping script for a 9.1 database }
  15. { }
  16. { ************************************************************************* }
  17. { }
  18. { ** IMPORTANT - PLEASE READ }
  19. { }
  20. { All types and routines referenced in this file must be prefixed }
  21. { with the user name "informix". E.g., use "informix.boolean" }
  22. { and not "boolean" }
  23. { }
  24. { Also, please follow the formatting conventions!!! }
  25. { }
  26. { ************************************************************************* }
  27. -- Define recovery related functions for the rtree access method:
  28. create function informix.rlt_redo(pointer, pointer, int, int)
  29. returns int
  30. external name '(rlt_redo)'
  31. language C;
  32. create function informix.rlt_undo(pointer, pointer, int, int)
  33. returns int
  34. external name '(rlt_undo)'
  35. language C;
  36. create function informix.rlt_commit(int)
  37. returns int
  38. external name '(rlt_commit)'
  39. language C;
  40. create function informix.rlt_abort(int)
  41. returns int
  42. external name '(rlt_abort)'
  43. language C;
  44. -- Add [not] equal function for collections.
  45. create function informix.equal(set, set) returns informix.boolean
  46. external name '(collequal)' language C not variant;
  47. create function informix.notequal(set, set) returns informix.boolean
  48. external name '(collnotequal)' language C not variant;
  49. create function informix.equal(list, list) returns informix.boolean
  50. external name '(collequal)' language C not variant;
  51. create function informix.notequal(list, list) returns informix.boolean
  52. external name '(collnotequal)' language C not variant;
  53. create function informix.equal(multiset, multiset) returns informix.boolean
  54. external name '(collequal)' language C not variant;
  55. create function informix.notequal(multiset, multiset) returns informix.boolean
  56. external name '(collnotequal)' language C not variant;