Accommodate long daemon command lines
Summary: Fixes T2559 with an incredibly original patch which I came up with myself. Test Plan: $ ./bin/storage upgrade -f Applying patch 'phabricator:20130218.longdaemon.sql'... Storage is up to date. Use 'storage status' for details. Reviewers: edward Reviewed By: edward CC: aran Maniphest Tasks: T2559 Differential Revision: https://secure.phabricator.com/D5006
This commit is contained in:
		
							
								
								
									
										2
									
								
								resources/sql/patches/20130218.longdaemon.sql
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								resources/sql/patches/20130218.longdaemon.sql
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
ALTER TABLE {$NAMESPACE}_daemon.daemon_log
 | 
			
		||||
  CHANGE argv argv LONGTEXT NOT NULL COLLATE utf8_bin;
 | 
			
		||||
@@ -1133,6 +1133,10 @@ final class PhabricatorBuiltinPatchList extends PhabricatorSQLPatchList {
 | 
			
		||||
        'type'    => 'php',
 | 
			
		||||
        'name'    => $this->getPatchPath('20130218.updatechannelid.php'),
 | 
			
		||||
      ),
 | 
			
		||||
      '20130218.longdaemon.sql' => array(
 | 
			
		||||
        'type'    => 'sql',
 | 
			
		||||
        'name'    => $this->getPatchPath('20130218.longdaemon.sql'),
 | 
			
		||||
      ),
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user