- Timestamp:
- Jan 26, 2011, 5:45:02 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
BMXNET_RPMS_dotNET_UTILITIES-BMX/trunk/cs/bmx_0200scr/BMX2/BMXNet/RPMSDb.cs
r822 r1082 87 87 { 88 88 string sRPC; 89 string sOldContext = m_rpx.AppContext; 90 91 if (m_rpx.AppContext != "BMXRPC") 92 { 93 m_rpx.AppContext = "BMXRPC"; 94 } 89 90 /* /* 3110109 -- smh Commented out for performance 91 string sOldContext = m_rpx.AppContext; 92 93 if (m_rpx.AppContext != "BMXRPC") 94 { 95 m_rpx.AppContext = "BMXRPC"; 96 } 97 */ 95 98 96 99 sRPC = "BMX UPDATE"; … … 98 101 m_sCmd = m_sCmd.Substring(nStart); 99 102 string sResult = m_rpx.TransmitRPC( sRPC, m_sCmd); 100 101 if (sOldContext != m_rpx.AppContext) 102 { 103 m_rpx.AppContext = sOldContext; 104 } 103 104 /* /* 3110109 -- smh Commented out for performance 105 if (sOldContext != m_rpx.AppContext) 106 { 107 m_rpx.AppContext = sOldContext; 108 } 109 */ 105 110 106 111 resultset = new RPMSDbResultSet(); … … 113 118 string sRPC; 114 119 string sParam; 115 string sOldContext = m_rpx.AppContext; 116 if (m_sQueryType == "SELECT") 117 { 118 if (m_rpx.AppContext != "BMXRPC") 119 { 120 m_rpx.AppContext = "BMXRPC"; 121 } 120 /* /* 3110109 -- smh Commented out for performance issues. 121 string sOldContext = m_rpx.AppContext; 122 */ 123 if (m_sQueryType == "SELECT") 124 { 125 /*/* 3110109 -- smh Commented out for performance issues. 126 if (m_rpx.AppContext != "BMXRPC") 127 { 128 m_rpx.AppContext = "BMXRPC"; 129 } 130 */ 122 131 sRPC = "BMX SQL"; 123 132 sParam = m_sCmd; … … 131 140 string sResult = m_rpx.TransmitRPC( sRPC, sParam); 132 141 142 /* 133 143 if (sOldContext != m_rpx.AppContext) 134 144 { 135 145 m_rpx.AppContext = sOldContext; 136 146 } 147 */ 137 148 138 149 return sResult;
Note:
See TracChangeset
for help on using the changeset viewer.