mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-31 02:46:29 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			233 lines
		
	
	
	
		
			2.8 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
			
		
		
	
	
			233 lines
		
	
	
	
		
			2.8 KiB
		
	
	
	
		
			Text
		
	
	
	
	
	
| include/master-slave.inc
 | |
| [connection master]
 | |
| connection master;
 | |
| DROP PROCEDURE IF EXISTS test.p1;
 | |
| DROP TABLE IF EXISTS test.t1;
 | |
| CREATE TABLE test.t1 (a INT, blob_column LONGBLOB, PRIMARY KEY(a));
 | |
| INSERT INTO test.t1  VALUES(1,'test');
 | |
| UPDATE test.t1 SET blob_column=LOAD_FILE('../../std_data/words2.dat') WHERE a=1;
 | |
| Warnings:
 | |
| Note	1592	Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave
 | |
| create procedure test.p1()
 | |
| begin
 | |
| INSERT INTO test.t1  VALUES(2,'test');
 | |
| UPDATE test.t1 SET blob_column=LOAD_FILE('../../std_data/words2.dat') WHERE a=2;
 | |
| end|
 | |
| CALL test.p1();
 | |
| Warnings:
 | |
| Note	1592	Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT. Statement is unsafe because it uses a system function that may return a different value on the slave
 | |
| SELECT * FROM test.t1 ORDER BY blob_column;
 | |
| a	blob_column
 | |
| 1	abase
 | |
| abased
 | |
| abasement
 | |
| abasements
 | |
| abases
 | |
| abash
 | |
| abashed
 | |
| abashes
 | |
| abashing
 | |
| abasing
 | |
| abate
 | |
| abated
 | |
| abatement
 | |
| abatements
 | |
| abater
 | |
| abates
 | |
| abating
 | |
| Abba
 | |
| abbe
 | |
| abbey
 | |
| abbeys
 | |
| abbot
 | |
| abbots
 | |
| Abbott
 | |
| abbreviate
 | |
| abbreviated
 | |
| abbreviates
 | |
| abbreviating
 | |
| abbreviation
 | |
| abbreviations
 | |
| Abby
 | |
| abdomen
 | |
| abdomens
 | |
| abdominal
 | |
| abduct
 | |
| abducted
 | |
| abduction
 | |
| abductions
 | |
| abductor
 | |
| abductors
 | |
| abducts
 | |
| Abe
 | |
| abed
 | |
| Abel
 | |
| Abelian
 | |
| Abelson
 | |
| Aberdeen
 | |
| Abernathy
 | |
| aberrant
 | |
| aberration
 | |
| 
 | |
| 2	abase
 | |
| abased
 | |
| abasement
 | |
| abasements
 | |
| abases
 | |
| abash
 | |
| abashed
 | |
| abashes
 | |
| abashing
 | |
| abasing
 | |
| abate
 | |
| abated
 | |
| abatement
 | |
| abatements
 | |
| abater
 | |
| abates
 | |
| abating
 | |
| Abba
 | |
| abbe
 | |
| abbey
 | |
| abbeys
 | |
| abbot
 | |
| abbots
 | |
| Abbott
 | |
| abbreviate
 | |
| abbreviated
 | |
| abbreviates
 | |
| abbreviating
 | |
| abbreviation
 | |
| abbreviations
 | |
| Abby
 | |
| abdomen
 | |
| abdomens
 | |
| abdominal
 | |
| abduct
 | |
| abducted
 | |
| abduction
 | |
| abductions
 | |
| abductor
 | |
| abductors
 | |
| abducts
 | |
| Abe
 | |
| abed
 | |
| Abel
 | |
| Abelian
 | |
| Abelson
 | |
| Aberdeen
 | |
| Abernathy
 | |
| aberrant
 | |
| aberration
 | |
| 
 | |
| connection slave;
 | |
| connection slave;
 | |
| SELECT * FROM test.t1 ORDER BY blob_column;
 | |
| a	blob_column
 | |
| 1	abase
 | |
| abased
 | |
| abasement
 | |
| abasements
 | |
| abases
 | |
| abash
 | |
| abashed
 | |
| abashes
 | |
| abashing
 | |
| abasing
 | |
| abate
 | |
| abated
 | |
| abatement
 | |
| abatements
 | |
| abater
 | |
| abates
 | |
| abating
 | |
| Abba
 | |
| abbe
 | |
| abbey
 | |
| abbeys
 | |
| abbot
 | |
| abbots
 | |
| Abbott
 | |
| abbreviate
 | |
| abbreviated
 | |
| abbreviates
 | |
| abbreviating
 | |
| abbreviation
 | |
| abbreviations
 | |
| Abby
 | |
| abdomen
 | |
| abdomens
 | |
| abdominal
 | |
| abduct
 | |
| abducted
 | |
| abduction
 | |
| abductions
 | |
| abductor
 | |
| abductors
 | |
| abducts
 | |
| Abe
 | |
| abed
 | |
| Abel
 | |
| Abelian
 | |
| Abelson
 | |
| Aberdeen
 | |
| Abernathy
 | |
| aberrant
 | |
| aberration
 | |
| 
 | |
| 2	abase
 | |
| abased
 | |
| abasement
 | |
| abasements
 | |
| abases
 | |
| abash
 | |
| abashed
 | |
| abashes
 | |
| abashing
 | |
| abasing
 | |
| abate
 | |
| abated
 | |
| abatement
 | |
| abatements
 | |
| abater
 | |
| abates
 | |
| abating
 | |
| Abba
 | |
| abbe
 | |
| abbey
 | |
| abbeys
 | |
| abbot
 | |
| abbots
 | |
| Abbott
 | |
| abbreviate
 | |
| abbreviated
 | |
| abbreviates
 | |
| abbreviating
 | |
| abbreviation
 | |
| abbreviations
 | |
| Abby
 | |
| abdomen
 | |
| abdomens
 | |
| abdominal
 | |
| abduct
 | |
| abducted
 | |
| abduction
 | |
| abductions
 | |
| abductor
 | |
| abductors
 | |
| abducts
 | |
| Abe
 | |
| abed
 | |
| Abel
 | |
| Abelian
 | |
| Abelson
 | |
| Aberdeen
 | |
| Abernathy
 | |
| aberrant
 | |
| aberration
 | |
| 
 | |
| connection master;
 | |
| DROP PROCEDURE IF EXISTS test.p1;
 | |
| DROP TABLE test.t1;
 | |
| connection slave;
 | |
| include/rpl_end.inc
 | 
