28+ results for 'mysqlfunction' (1234 ms)
74 case nDATABASE_MySQL: 75 include_once getabspath("connections/dbfunctions/MySQLFunctions.php"); 76 $this->_functions = new MySQLFunctions( $leftWrapper, $rightWrapper, $extraParams );ScriptRunnerTest.java https://github.com/carbonfive/db-migration.git | Java | 134 lines
55 @Test 56 public void scriptRunnerShouldBatchMySQLFunctionsAndProcedures() throws Exception 57 {common.php https://bitbucket.org/GlitchMr/abxd.git | PHP | 106 lines
38include("mysql.php"); 39include("mysqlfunctions.php"); 40include("settingssystem.php");vim_addon_sql.vim https://github.com/MarcWeber/vim-addon-sql.git | Vim Script | 716 lines
28let s:thisDir = expand('<sfile>:h') 29let s:mysqlFunctionsDump = s:thisDir.'/mysql-functions.dump' 30 335 if !exists('self["functions"]') 336 let self['functions'] = eval(readfile(s:mysqlFunctionsDump)[0]) 337 endif 404 405fun! vim_addon_sql#ExtractMysqlFunctionsFromInfoFile(path) 406 " mysql source contains Docs/mysql.info 427 endwhile 428 call writefile([string(functions)], s:mysqlFunctionsDump) 429endfdoinstall.php https://bitbucket.org/GlitchMr/abxd.git | PHP | 155 lines
17 18include("lib/mysqlfunctions.php"); 19$overallTidy = 0;MySqlFunction.cs https://NBusiness.svn.codeplex.com/svn | C# | 59 lines
7{ 8 public class MySqlFunction : ISelectable, IEvaluatable 9 { 25 26 public MySqlFunction() { } 27 public MySqlFunction(string name, params IEvaluatable[] parameters)MySQLFunctions.php https://gitlab.com/Lidbary/PHPRunner | PHP | 158 lines
1<?php 2class MySQLFunctions extends DBFunctions 3{ 10 11 function MySQLFunctions( $leftWrapper, $rightWrapper, $extraParams ) 12 {MySqlFunctionList.cs https://hg.codeplex.com/mysqlbackupnet | C# | 98 lines
7{ 8 public class MySqlFunctionList : IDisposable 9 { 9 { 10 List<MySqlFunction> _lst = new List<MySqlFunction>(); 11 string _sqlShowFunctions = ""; 17 18 public MySqlFunctionList() 19 { } 20 21 public MySqlFunctionList(MySqlCommand cmd) 22 { 30 { 31 _lst.Add(new MySqlFunction(cmd, dr["Name"] + "", dr["Definer"] + "")); 32 }unsafe_mysql_functions_test.rb https://github.com/alphagov/whitehall.git | Ruby | 56 lines
2 3class UnsafeMySQLFunctionsTest < ActiveSupport::TestCase 4 def unsafe_functionsmysql.php https://code.google.com/p/sparkplug-framework/ | PHP | 693 lines
45 46class MySQLFunction_create_table extends SparkDBQueryFunction implements iSparkDBQueryFunctionCreateTable 47{ 239 240class MySQLFunction_alter_table extends MySQLFunction_create_table 241{ 267 268class MySQLFunction_create_index extends SparkDBQueryFunction implements iSparkDBQueryFunctionCreateIndex 269{ 334 335class MySQLFunction_drop_index extends SparkDBQueryFunction implements iSparkDBQueryFunctionDropIndex 336{ 414 415class MySQLFunction_date extends SparkDBQueryFunction implements iSparkDBQueryFunctionDate 416{pasmysql.pas git://pkgs.fedoraproject.org/skychart | Pascal | 845 lines
54 FMyVersion: TMyVersion; 55 mf: TMySQLFunctions; //short name, less typing.. 56 procedure StoreResult(Res: PMYSQL_RES);FormDatabaseInfo.cs https://hg.codeplex.com/mysqlbackupnet | C# | 484 lines
281 282 foreach (MySqlFunction func in myDatabase.Functions) 283 {linux_my_config.h https://repo.or.cz/LibreOffice.git | C Header | 278 lines
50/* 51 * function definitions - processed in LibmysqlFunctions.txt 52 */FunctionBuilderPage.java git://pkgs.fedoraproject.org/eclipse-dtp | Java | 1003 lines
27import org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder.MSSQLServerFunctionNamesAndSignatures; 28import org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder.MySQLFunctionNamesAndSignatures; 29import org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder.OracleFunctionNamesAndSignatures; 240 else if (domainModel.getVendor().isMySQL()) { 241 formats = MySQLFunctionNamesAndSignatures.getParameterFormats(functionSelected); 242 242 243 if (MySQLFunctionNamesAndSignatures.isFunctionSupportingStar(functionSelected)) { 244 paramTable.setSupportsStar(true);MySQLFunctionNamesAndSignatures.java git://pkgs.fedoraproject.org/eclipse-dtp | Java | 1155 lines
21 22public class MySQLFunctionNamesAndSignatures 23{MySqlDatabase.cs https://hg.codeplex.com/mysqlbackupnet | C# | 98 lines
17 MySqlProcedureList _listProcedure = new MySqlProcedureList(); 18 MySqlFunctionList _listFunction = new MySqlFunctionList(); 19 MySqlEventList _listEvent = new MySqlEventList(); 31 public MySqlViewList Views { get { return _listView; } } 32 public MySqlFunctionList Functions { get { return _listFunction; } } 33 public MySqlTriggerList Triggers { get { return _listTrigger; } } 64 _listProcedure = new MySqlProcedureList(cmd); 65 _listFunction = new MySqlFunctionList(cmd); 66 _listTrigger = new MySqlTriggerList(cmd);parse_mysqlfunction.py git://github.com/duckduckgo/zeroclickinfo-fathead.git | Python | 50 lines
46 if len(sys.argv) == 1 or sys.argv[1].lower() == 'tsv': 47 print "%s\t%s\t%s\t%s\t%s\t%s\t%s\t%s"%(name,'',url,desc,synopsis.replace("\r\n","__NEWLINE__"),'','mysqlfunction','en') 48 if sys.argv[1].lower() == 'sql': 48 if sys.argv[1].lower() == 'sql': 49 print '''INSERT INTO functions (`id`, `name`, `namespace`, `url`, `description`, `synopsis`, `detail`, `type`, `lang`) VALUES (NULL, '%s', '%s', '%s', '%s', '%s', '%s', '%s', '%s');'''%(name.replace("'","\\'").replace("\\\\","\\"),'',url,desc.replace("'","\\'").replace("\\\\","\\"),synopsis.replace("'","\\'").replace("\\\\","\\"),'','mysqlfunction','en') 50MySqlFunction.cs https://hg.codeplex.com/mysqlbackupnet | C# | 37 lines
6{ 7 public class MySqlFunction 8 { 16 17 public MySqlFunction(MySqlCommand cmd, string functionName, string definer) 18 {functional_tests.php git://github.com/ihumanable/prosper-lib.git | PHP | 205 lines
3 4 class MySqlFunctionalTests extends UnitTestCase { 5 7 8 function MySqlFunctionalTests() { 9 $this->UnitTestCase('MySQL - Functional Test');update_pas_mysql_structures.php http://heidisql.googlecode.com/svn/trunk/ | PHP | 147 lines
2/** 3 * This is a helper file for generating the MySQLFunctions Array 4 * in /source/mysql.pasCustomer.cs https://zport.svn.codeplex.com/svn | C# | 63 lines
37 //sql="update customer set very_code=MD5(cust_id+balance+325.61)" 38 return MySqlFunctions.MD5((CustomerID + (double)Balance + 325.61).ToString("F")); 39 }MySQLDialectContributor.java https://github.com/hibernate/hibernate-orm.git | Java | 47 lines
34 HSMessageLogger.LOGGER.functionContributions( this.getClass().getCanonicalName() ); 35 final KeyedSqmFunctionDescriptors mysqlFunctions = new MySqlSqmFunctionDescriptors( functionContributions ); 36 final SqmFunctionRegistry functionRegistry = functionContributions.getFunctionRegistry(); 36 final SqmFunctionRegistry functionRegistry = functionContributions.getFunctionRegistry(); 37 mysqlFunctions.asMap().forEach( (key, desc) -> { 38 functionRegistry.register( key.getName(), desc );MySqlFunctionsTest.cs https://zport.svn.codeplex.com/svn | C# | 106 lines
13 /// <summary> 14 ///This is a test class for MySqlFunctionsTest and is intended 15 ///to contain all MySqlFunctionsTest Unit Tests 17 [TestClass()] 18 public class MySqlFunctionsTest 19 { 78 { 79 // var cc = db.Customers.FirstOrDefault(p => p.Account == "77是" && p.Password == MySqlFunctions.OldPassword("User@123")); 80 var cc = db.Customers.Where(p => p.Account == "77是" && p.Password == MySqlFunctions.OldPassword("User@123")); 99 string actual; 100 actual = MySqlFunctions.MD5(data); 101 Assert.AreEqual(expected, actual);MySQL56SpatialDialect.java https://github.com/sebersole/hibernate-core.git | Java | 152 lines
56 57 private MySQL5SpatialFunctions overrideObjectShapeFunctions(MySQL5SpatialFunctions mysqlFunctions) { 58 mysqlFunctions.put( "contains", new StandardSQLFunction( "ST_Contains", StandardBasicTypes.BOOLEAN ) ); 58 mysqlFunctions.put( "contains", new StandardSQLFunction( "ST_Contains", StandardBasicTypes.BOOLEAN ) ); 59 mysqlFunctions.put( "crosses", new StandardSQLFunction( "ST_Crosses", StandardBasicTypes.BOOLEAN ) ); 60 mysqlFunctions.put( "disjoint", new StandardSQLFunction( "ST_Disjoint", StandardBasicTypes.BOOLEAN ) ); 60 mysqlFunctions.put( "disjoint", new StandardSQLFunction( "ST_Disjoint", StandardBasicTypes.BOOLEAN ) ); 61 mysqlFunctions.put( "equals", new StandardSQLFunction( "ST_Equals", StandardBasicTypes.BOOLEAN ) ); 62 mysqlFunctions.put( "intersects", new StandardSQLFunction( "ST_Intersects", StandardBasicTypes.BOOLEAN ) ); 62 mysqlFunctions.put( "intersects", new StandardSQLFunction( "ST_Intersects", StandardBasicTypes.BOOLEAN ) ); 63 mysqlFunctions.put( "overlaps", new StandardSQLFunction( "ST_Overlaps", StandardBasicTypes.BOOLEAN ) ); 64 mysqlFunctions.put( "touches", new StandardSQLFunction( "ST_Touches", StandardBasicTypes.BOOLEAN ) ); 64 mysqlFunctions.put( "touches", new StandardSQLFunction( "ST_Touches", StandardBasicTypes.BOOLEAN ) ); 65 mysqlFunctions.put( "within", new StandardSQLFunction( "ST_Within", StandardBasicTypes.BOOLEAN ) ); 66 return mysqlFunctions;assignment_comment.php https://github.com/mtwstudios/comtor.git | PHP | 118 lines
24require_once("connect.php"); 25require_once("mysqlFunctions.php"); 26sql_builder.py https://gitlab.com/18runt88/vitess | Python | 686 lines
74 bind_list.append(column) 75 if type(bind_values[column]) == MySQLFunction: 76 clause_parts.append(bind_values[column]) 230 for i, (column, value) in enumerate(update_column_value_pairs): 231 if isinstance(value, (Flag, Increment, MySQLFunction)): 232 clause, clause_bind_vals = value.build_update_sql(column) 330 331class MySQLFunction(object): 332test_mysql.py https://github.com/lgastako/esdb.git | Python | 71 lines
33 34class MySQLFunctionTests(test_dialects.FunctionTests): 35CustomerService.cs https://zport.svn.codeplex.com/svn | C# | 143 lines
27 var sql = db.Customers.Where(c => (c.Account == account || c.Email == account) 28 && c.Password == MySqlFunctions.OldPassword(password)); 29 64 Email = email, 65 Password = MySqlFunctions.OldPassword(password), 66