File: mysql_casts.sql

package info (click to toggle)
pg-comparator 2.3.2-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 564 kB
  • sloc: perl: 5,349; ansic: 709; sql: 158; makefile: 62
file content (11 lines) | stat: -rw-r--r-- 390 bytes parent folder | download | duplicates (6)
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';