Gravity: Added maxscale

Review Request #472 — Created Dec. 20, 2016 and submitted

p.valk
Lunr
ML-423
ff04d37...
lunr
added maxscale hint style.

unittests.

  • 0
  • 0
  • 11
  • 0
  • 11
Description From Last Updated
p.valk
pprkut
  1. 
      
  2. NULL is not a good default in this case.

  3. src/Lunr/Gravity/Database/MySQL/MySQLConnection.php (Diff revision 1)
     
     
     
     
     
     
     

    I'd rather have this inverted. mysqlnd is only really useful for php <= 5.5, maybe even 5.4.

  4. missing break

  5. NULL is not a good default in this case

  6. missing break

  7. 
      
p.valk
pprkut
  1. 
      
  2. src/Lunr/Gravity/Database/MySQL/MySQLConnection.php (Diff revision 2)
     
     
     
     
     
     
     
     
     

    missing default statement

  3. src/Lunr/Gravity/Database/MySQL/MySQLConnection.php (Diff revision 2)
     
     
     
     
     
     
     

    missing default statement

  4. 
      
p.valk
pprkut
  1. 
      
    1. you mean that the text What hint style to use. should be changed too What style to use.?

    2. I mean coding style

  2. src/Lunr/Gravity/Database/MySQL/MySQLConnection.php (Diff revision 3)
     
     
     
     
     
     
     
     

    typically the order is exactly the other way around:

    • case mysqlnd
    • case maxscale
    • default
    1. ok, what about putting the mysqlnd on top, then the default that flows into the maxscale one?
      or have default do nothing? or copy the content of maxscale into default?

    2. maxscale should flow into the default

  3. 
      
p.valk
tardypad
  1. Ship It!
  2. 
      
p.valk
Review request changed

Status: Closed (submitted)

Change Summary:

Merged into master

Loading...