List:Commits« Previous MessageNext Message »
From:Christopher Powers Date:June 6 2011 8:42pm
Subject:bzr push into mysql-trunk branch (chris.powers:3304 to 3306)
View as plain text  
 3306 Christopher Powers	2011-06-06
      merge with mysql-trunk

    modified:
      storage/perfschema/pfs.cc
      storage/perfschema/pfs_column_types.h
      storage/perfschema/table_events_waits.cc
 3305 Christopher Powers	2011-06-06
      merge with mysql-trunk

    modified:
      include/mysql/psi/psi_abi_v1.h.pp
      include/mysql/psi/psi_abi_v2.h.pp
      vio/viosocket.c
 3304 cpowers	2011-06-06
      merge with mysql-trunk

    modified:
      vio/vio.c
      vio/viopipe.c
      vio/vioshm.c
      vio/viossl.c
=== modified file 'include/mysql/psi/psi_abi_v1.h.pp'
--- a/include/mysql/psi/psi_abi_v1.h.pp	2011-03-29 00:46:15 +0000
+++ b/include/mysql/psi/psi_abi_v1.h.pp	2011-06-06 20:16:03 +0000
@@ -89,7 +89,8 @@ enum PSI_socket_operation
   PSI_SOCKET_SEEK= 10,
   PSI_SOCKET_OPT= 11,
   PSI_SOCKET_STAT= 12,
-  PSI_SOCKET_SHUTDOWN= 13
+  PSI_SOCKET_SHUTDOWN= 13,
+  PSI_SOCKET_SELECT= 14
 };
 typedef unsigned int PSI_mutex_key;
 typedef unsigned int PSI_rwlock_key;

=== modified file 'include/mysql/psi/psi_abi_v2.h.pp'
--- a/include/mysql/psi/psi_abi_v2.h.pp	2011-04-22 03:07:02 +0000
+++ b/include/mysql/psi/psi_abi_v2.h.pp	2011-06-06 20:16:03 +0000
@@ -89,7 +89,8 @@ enum PSI_socket_operation
   PSI_SOCKET_SEEK= 10,
   PSI_SOCKET_OPT= 11,
   PSI_SOCKET_STAT= 12,
-  PSI_SOCKET_SHUTDOWN= 13
+  PSI_SOCKET_SHUTDOWN= 13,
+  PSI_SOCKET_SELECT= 14
 };
 typedef unsigned int PSI_mutex_key;
 typedef unsigned int PSI_rwlock_key;

=== modified file 'storage/perfschema/pfs.cc'
--- a/storage/perfschema/pfs.cc	2011-05-17 17:34:45 +0000
+++ b/storage/perfschema/pfs.cc	2011-06-06 20:42:17 +0000
@@ -1141,7 +1141,8 @@ static enum_operation_type socket_operat
   OPERATION_TYPE_SOCKETSEEK,
   OPERATION_TYPE_SOCKETOPT,
   OPERATION_TYPE_SOCKETSTAT,
-  OPERATION_TYPE_SOCKETSHUTDOWN
+  OPERATION_TYPE_SOCKETSHUTDOWN,
+  OPERATION_TYPE_SOCKETSELECT
 };
 
 /**
@@ -2843,6 +2844,7 @@ get_thread_socket_locker_v1(PSI_socket_l
       case PSI_SOCKET_STAT:
       case PSI_SOCKET_SHUTDOWN:
       case PSI_SOCKET_CLOSE:
+      case PSI_SOCKET_SELECT:
         {
         PFS_socket *pfs_socket= reinterpret_cast<PFS_socket *>(socket);
         pfs_socket->m_socket_stat.m_io_stat.m_misc.aggregate_counted();
@@ -4593,6 +4595,7 @@ static void end_socket_wait_v1(PSI_socke
   case PSI_SOCKET_OPT:
   case PSI_SOCKET_STAT:
   case PSI_SOCKET_SHUTDOWN:
+  case PSI_SOCKET_SELECT:
     byte_stat= &socket->m_socket_stat.m_io_stat.m_misc;
     break;
   case PSI_SOCKET_CLOSE:

=== modified file 'storage/perfschema/pfs_column_types.h'
--- a/storage/perfschema/pfs_column_types.h	2011-04-14 01:36:24 +0000
+++ b/storage/perfschema/pfs_column_types.h	2011-06-06 20:42:17 +0000
@@ -164,9 +164,10 @@ enum enum_operation_type
   OPERATION_TYPE_SOCKETOPT = 52,
   OPERATION_TYPE_SOCKETSTAT = 53,
   OPERATION_TYPE_SOCKETSHUTDOWN = 54,
+  OPERATION_TYPE_SOCKETSELECT = 55,
 
   /* Idle operation */
-  OPERATION_TYPE_IDLE= 55
+  OPERATION_TYPE_IDLE= 56
 };
 /** Integer, first value of @sa enum_operation_type. */
 #define FIRST_OPERATION_TYPE (static_cast<int> (OPERATION_TYPE_LOCK))

=== modified file 'storage/perfschema/table_events_waits.cc'
--- a/storage/perfschema/table_events_waits.cc	2011-03-28 23:37:10 +0000
+++ b/storage/perfschema/table_events_waits.cc	2011-06-06 20:42:17 +0000
@@ -555,6 +555,7 @@ static const LEX_STRING operation_names_
   { C_STRING_WITH_LEN("opt") },
   { C_STRING_WITH_LEN("stat") },
   { C_STRING_WITH_LEN("shutdown") },
+  { C_STRING_WITH_LEN("select") },
 
   /* Idle operations */
   { C_STRING_WITH_LEN("idle") }

=== modified file 'vio/viosocket.c'
--- a/vio/viosocket.c	2011-06-06 19:24:25 +0000
+++ b/vio/viosocket.c	2011-06-06 20:16:03 +0000
@@ -101,7 +101,6 @@ size_t vio_read(Vio *vio, uchar *buf, si
 {
   ssize_t ret;
   int flags= 0;
-  size_t bytes_read= 0;
   DBUG_ENTER("vio_read");
 
   /* Ensure nobody uses vio_read_buff and vio_read simultaneously. */
@@ -317,7 +316,6 @@ int vio_socket_timeout(Vio *vio,
 int vio_fastsend(Vio * vio __attribute__((unused)))
 {
   int r=0;
-  my_socket sd= mysql_socket_getfd(vio->mysql_socket);
   DBUG_ENTER("vio_fastsend");
 
 #if defined(IPTOS_THROUGHPUT)


Attachment: [text/bzr-bundle] bzr/chris.powers@oracle.com-20110606204217-bonh0dct1gn2i3x4.bundle
Thread
bzr push into mysql-trunk branch (chris.powers:3304 to 3306) Christopher Powers7 Jun