File: mysql_casts.sql

package info (click to toggle)
pg-comparator 2.2.5-2
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 796 kB
  • ctags: 367
  • sloc: perl: 8,750; ansic: 457; sql: 66; makefile: 64
file content (11 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
--
-- $Id: mysql_casts.sql 665 2010-04-01 07:35:52Z fabien $
--

DROP FUNCTION IF EXISTS biginttoint8;
DROP FUNCTION IF EXISTS biginttoint4;
DROP FUNCTION IF EXISTS biginttoint2;

CREATE FUNCTION biginttoint8 RETURNS INTEGER SONAME 'mysql_casts.so';
CREATE FUNCTION biginttoint4 RETURNS INTEGER SONAME 'mysql_casts.so';
CREATE FUNCTION biginttoint2 RETURNS INTEGER SONAME 'mysql_casts.so';