boot920b.sql 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  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: boot920b.sql }
  12. { }
  13. { Description: }
  14. { Bootstrapping script for a 9.20 post prebeta release }
  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. { Please ensure that the identifiers that you choose are <= 18 }
  27. { characters in length. Otherwise the changes would affect database }
  28. { reversion. }
  29. { }
  30. { ************************************************************************* }
  31. create opaque type informix.clientbinval
  32. (
  33. internallength=variable,
  34. alignment = 1,
  35. maxlen = 2048,
  36. cannothash
  37. );
  38. create function informix.clientbinval_send(informix.clientbinval)
  39. returns informix.sendrecv
  40. external name '(mife_clientbinval_send)'
  41. language C;
  42. create function informix.clientbinval_recv(informix.sendrecv)
  43. returns informix.clientbinval
  44. external name '(mife_clientbinval_recv)'
  45. language C;
  46. create explicit cast (informix.clientbinval as informix.sendrecv
  47. with informix.clientbinval_send);
  48. create implicit cast (informix.sendrecv as informix.clientbinval
  49. with informix.clientbinval_recv);
  50. create dba function informix.mi_cast_datum(informix.clientbinval,
  51. int, int, int, int)
  52. returns informix.clientbinval
  53. external name '(mife_cast_datum)'
  54. language C;
  55. create dba function informix.mi_cast_datum(informix.clientbinval,
  56. informix.lvarchar, informix.lvarchar)
  57. returns informix.clientbinval
  58. external name '(mife_cast_datum_by_name)'
  59. language C;
  60. grant execute on function informix.mi_cast_datum(informix.clientbinval,
  61. int, int, int, int)
  62. to public as informix;
  63. grant execute on function informix.mi_cast_datum(informix.clientbinval,
  64. informix.lvarchar, informix.lvarchar)
  65. to public as informix;
  66. ---Rtree tracing support
  67. create dba function informix.rlt_tracelevel_set(integer)
  68. returns integer
  69. external name '(rlt_tracelevel_set)'
  70. language C;
  71. grant execute on function informix.rlt_tracelevel_set(integer)
  72. to public as informix;
  73. create dba function informix.rlt_tracefile_set(informix.lvarchar)
  74. returns integer
  75. external name '(rlt_tracefile_set)'
  76. language C;
  77. grant execute on function informix.rlt_tracefile_set(informix.lvarchar)
  78. to public as informix;