mirror of
				https://github.com/MariaDB/server.git
				synced 2025-10-30 04:26:45 +03:00 
			
		
		
		
	that they control. BitKeeper/triggers/post-commit.innodb.pl: Trigger to notify InnoDB developers about changes in InnoDB files. BitKeeper/triggers/post-incoming.innodb.pl: Trigger to notify InnoDB developers about changes in InnoDB files. BitKeeper/triggers/pre-commit.innodb.pl: Trigger to warn MySQL developers that they have changed InnoDB files, and that their changes will be sent to the InnoDB developers if they choose to commit. BitKeeper/triggers/triggers-lib.pl: Utility functions for BK triggers written in Perl.
		
			
				
	
	
		
			23 lines
		
	
	
		
			478 B
		
	
	
	
		
			Perl
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			23 lines
		
	
	
		
			478 B
		
	
	
	
		
			Perl
		
	
	
		
			Executable File
		
	
	
	
	
| #! /usr/bin/perl
 | |
| 
 | |
| use strict;
 | |
| use warnings;
 | |
| 
 | |
| use FindBin;
 | |
| require "$FindBin::Bin/triggers-lib.pl";
 | |
| 
 | |
| # Don't run unless commit was successful
 | |
| check_status() || exit 0;
 | |
| 
 | |
| my $cset = latest_cset();
 | |
| 
 | |
| # Read most recent ChangeSet's changed files.  Send merge changes along, since
 | |
| # they'll need to be incorporated in InnoDB's source tree eventually.
 | |
| my $changes = innodb_get_changes('cset', $cset, 'yes')
 | |
|   or exit 0;
 | |
| 
 | |
| innodb_send_changes_email($cset, $changes)
 | |
|   or exit 1;
 | |
| 
 | |
| exit 0;
 |