@@ -22,7 +22,7 @@ debug(MYSQLN_TESTS)
2222 import mysql.test.common;
2323}
2424
25- version (Have_vibe_d_core )
25+ version (Have_vibe_core )
2626{
2727 static if (__traits(compiles, (){ import vibe.core.net ; } ))
2828 import vibe.core.net ;
@@ -430,7 +430,7 @@ package:
430430 void bumpPacket () { _cpn++ ; }
431431 void resetPacket () { _cpn = 0 ; }
432432
433- version (Have_vibe_d_core ) {} else
433+ version (Have_vibe_core ) {} else
434434 pure const nothrow invariant ()
435435 {
436436 assert (_socketType != MySQLSocketType.vibed);
@@ -445,7 +445,7 @@ package:
445445
446446 static PlainVibeDSocket defaultOpenSocketVibeD (string host, ushort port)
447447 {
448- version (Have_vibe_d_core )
448+ version (Have_vibe_core )
449449 return vibe.core.net.connectTCP (host, port);
450450 else
451451 assert (0 );
@@ -463,10 +463,10 @@ package:
463463 break ;
464464
465465 case MySQLSocketType.vibed:
466- version (Have_vibe_d_core ) {
466+ version (Have_vibe_core ) {
467467 _socket = new MySQLSocketVibeD(_openSocketVibeD(_host, _port));
468468 break ;
469- } else assert (0 , " Unsupported socket type. Need version Have_vibe_d_core ." );
469+ } else assert (0 , " Unsupported socket type. Need version Have_vibe_core ." );
470470 }
471471 }
472472
@@ -592,7 +592,7 @@ public:
592592 cs = A connection string of the form "host=localhost;user=user;pwd=password;db=mysqld"
593593 (TODO: The connection string needs work to allow for semicolons in its parts!)
594594 socketType = Whether to use a Phobos or Vibe.d socket. Default is Phobos,
595- unless compiled with `-version=Have_vibe_d_core ` (set automatically
595+ unless compiled with `-version=Have_vibe_core ` (set automatically
596596 if using $(LINK2 http://code.dlang.org/getting_started, DUB)).
597597 openSocket = Optional callback which should return a newly-opened Phobos
598598 or Vibe.d TCP socket. This allows custom sockets to be used,
@@ -607,7 +607,7 @@ public:
607607 // client preferences can be set, and authentication can then be attempted.
608608 this (string host, string user, string pwd, string db, ushort port = 3306 , SvrCapFlags capFlags = defaultClientFlags)
609609 {
610- version (Have_vibe_d_core )
610+ version (Have_vibe_core )
611611 enum defaultSocketType = MySQLSocketType.vibed;
612612 else
613613 enum defaultSocketType = MySQLSocketType.phobos;
@@ -618,8 +618,8 @@ public:
618618 // /ditto
619619 this (MySQLSocketType socketType, string host, string user, string pwd, string db, ushort port = 3306 , SvrCapFlags capFlags = defaultClientFlags)
620620 {
621- version (Have_vibe_d_core ) {} else
622- enforce! MYX (socketType != MySQLSocketType.vibed, " Cannot use Vibe.d sockets without -version=Have_vibe_d_core " );
621+ version (Have_vibe_core ) {} else
622+ enforce! MYX (socketType != MySQLSocketType.vibed, " Cannot use Vibe.d sockets without -version=Have_vibe_core " );
623623
624624 this (socketType, &defaultOpenSocketPhobos, &defaultOpenSocketVibeD,
625625 host, user, pwd, db, port, capFlags);
@@ -632,7 +632,7 @@ public:
632632 this (MySQLSocketType.phobos, openSocket, null , host, user, pwd, db, port, capFlags);
633633 }
634634
635- version (Have_vibe_d_core )
635+ version (Have_vibe_core )
636636 // /ditto
637637 this (OpenSocketCallbackVibeD openSocket,
638638 string host, string user, string pwd, string db, ushort port = 3306 , SvrCapFlags capFlags = defaultClientFlags)
@@ -656,8 +656,8 @@ public:
656656 {
657657 enforce! MYX (capFlags & SvrCapFlags.PROTOCOL41 , " This client only supports protocol v4.1" );
658658 enforce! MYX (capFlags & SvrCapFlags.SECURE_CONNECTION , " This client only supports protocol v4.1 connection" );
659- version (Have_vibe_d_core ) {} else
660- enforce! MYX (socketType != MySQLSocketType.vibed, " Cannot use Vibe.d sockets without -version=Have_vibe_d_core " );
659+ version (Have_vibe_core ) {} else
660+ enforce! MYX (socketType != MySQLSocketType.vibed, " Cannot use Vibe.d sockets without -version=Have_vibe_core " );
661661
662662 _socketType = socketType;
663663 _host = host;
@@ -695,7 +695,7 @@ public:
695695 this (openSocket, a[0 ], a[1 ], a[2 ], a[3 ], to! ushort (a[4 ]), capFlags);
696696 }
697697
698- version (Have_vibe_d_core )
698+ version (Have_vibe_core )
699699 // /ditto
700700 this (OpenSocketCallbackVibeD openSocket, string cs, SvrCapFlags capFlags = defaultClientFlags)
701701 {
0 commit comments