~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/item/create.cc

  • Committer: Lee Bieber
  • Date: 2011-02-23 15:55:11 UTC
  • mfrom: (2183.2.17 list2)
  • mto: This revision was merged to the branch mainline in revision 2195.
  • Revision ID: kalebral@gmail.com-20110223155511-b3onmo8k9d57msvn
Merge Olaf - Use Item_equal::begin() and Use List::size()

Show diffs side-by-side

added added

removed removed

Lines of Context:
1084
1084
  int arg_count= 0;
1085
1085
 
1086
1086
  if (item_list != NULL)
1087
 
    arg_count= item_list->elements;
 
1087
    arg_count= item_list->size();
1088
1088
 
1089
1089
  func= (*udf)(session->mem_root);
1090
1090
 
1120
1120
  int arg_count= 0;
1121
1121
 
1122
1122
  if (item_list != NULL)
1123
 
    arg_count= item_list->elements;
 
1123
    arg_count= item_list->size();
1124
1124
 
1125
1125
  if (arg_count != 0)
1126
1126
  {
1138
1138
  int arg_count= 0;
1139
1139
 
1140
1140
  if (item_list)
1141
 
    arg_count= item_list->elements;
 
1141
    arg_count= item_list->size();
1142
1142
 
1143
1143
  if (arg_count != 1)
1144
1144
  {
1164
1164
  int arg_count= 0;
1165
1165
 
1166
1166
  if (item_list)
1167
 
    arg_count= item_list->elements;
 
1167
    arg_count= item_list->size();
1168
1168
 
1169
1169
  if (arg_count != 2)
1170
1170
  {
1192
1192
  int arg_count= 0;
1193
1193
 
1194
1194
  if (item_list)
1195
 
    arg_count= item_list->elements;
 
1195
    arg_count= item_list->size();
1196
1196
 
1197
1197
  if (arg_count != 3)
1198
1198
  {
1234
1234
  int arg_count= 0;
1235
1235
 
1236
1236
  if (item_list != NULL)
1237
 
    arg_count= item_list->elements;
 
1237
    arg_count= item_list->size();
1238
1238
 
1239
1239
  if (arg_count < 1)
1240
1240
  {
1255
1255
  int arg_count= 0;
1256
1256
 
1257
1257
  if (item_list != NULL)
1258
 
    arg_count= item_list->elements;
 
1258
    arg_count= item_list->size();
1259
1259
 
1260
1260
  /* "WS" stands for "With Separator": this function takes 2+ arguments */
1261
1261
  if (arg_count < 2)
1362
1362
  int arg_count= 0;
1363
1363
 
1364
1364
  if (item_list != NULL)
1365
 
    arg_count= item_list->elements;
 
1365
    arg_count= item_list->size();
1366
1366
 
1367
1367
  switch (arg_count) {
1368
1368
  case 3:
1414
1414
  int arg_count= 0;
1415
1415
 
1416
1416
  if (item_list != NULL)
1417
 
    arg_count= item_list->elements;
 
1417
    arg_count= item_list->size();
1418
1418
 
1419
1419
  if (arg_count < 2)
1420
1420
  {
1462
1462
  int arg_count= 0;
1463
1463
 
1464
1464
  if (item_list != NULL)
1465
 
    arg_count= item_list->elements;
 
1465
    arg_count= item_list->size();
1466
1466
 
1467
1467
  switch (arg_count) {
1468
1468
  case 1:
1499
1499
  int arg_count= 0;
1500
1500
 
1501
1501
  if (item_list != NULL)
1502
 
    arg_count= item_list->elements;
 
1502
    arg_count= item_list->size();
1503
1503
 
1504
1504
  if (arg_count < 2)
1505
1505
  {
1556
1556
  int arg_count= 0;
1557
1557
 
1558
1558
  if (item_list != NULL)
1559
 
    arg_count= item_list->elements;
 
1559
    arg_count= item_list->size();
1560
1560
 
1561
1561
  switch (arg_count) {
1562
1562
  case 0:
1599
1599
  int arg_count= 0;
1600
1600
 
1601
1601
  if (item_list != NULL)
1602
 
    arg_count= item_list->elements;
 
1602
    arg_count= item_list->size();
1603
1603
 
1604
1604
  if (arg_count < 2)
1605
1605
  {
1629
1629
  int arg_count= 0;
1630
1630
 
1631
1631
  if (item_list != NULL)
1632
 
    arg_count= item_list->elements;
 
1632
    arg_count= item_list->size();
1633
1633
 
1634
1634
  switch (arg_count) {
1635
1635
  case 2:
1695
1695
  int arg_count= 0;
1696
1696
 
1697
1697
  if (item_list != NULL)
1698
 
    arg_count= item_list->elements;
 
1698
    arg_count= item_list->size();
1699
1699
 
1700
1700
  if (arg_count < 2)
1701
1701
  {
1781
1781
  int arg_count= 0;
1782
1782
 
1783
1783
  if (item_list != NULL)
1784
 
    arg_count= item_list->elements;
 
1784
    arg_count= item_list->size();
1785
1785
 
1786
1786
  switch (arg_count) {
1787
1787
  case 1:
1924
1924
  int arg_count= 0;
1925
1925
 
1926
1926
  if (item_list != NULL)
1927
 
    arg_count= item_list->elements;
 
1927
    arg_count= item_list->size();
1928
1928
 
1929
1929
  switch (arg_count) {
1930
1930
  case 0: